[BACK]Return to sa11x0_com.c CVS log [TXT][DIR] Up to [local] / sys / arch / arm / sa11x0

Diff for /sys/arch/arm/sa11x0/sa11x0_com.c between version 1.1 and 1.2

version 1.1, 2008/03/04 16:05:17 version 1.2, 2008/03/05 15:35:40
Line 214 
Line 214 
   
         /* wait for any pending transmission to finish */          /* wait for any pending transmission to finish */
         timo = 50000;          timo = 50000;
         while (((*(uint32_t *)(sacom_base + SACOM_SR1)) & SR1_TBY) == 1 && --timo)          while (((*(volatile uint32_t *)(sacom_base + SACOM_SR1)) & SR1_TBY) == 1 && --timo)
                 ;                  ;
   
         *(uint32_t *)(sacom_base + SACOM_DR) = c;          *(uint32_t *)(sacom_base + SACOM_DR) = c;
   
         /* wait for this transmission to complete */          /* wait for this transmission to complete */
         timo = 1500000;          timo = 1500000;
         while (((*(uint32_t *)(sacom_base + SACOM_SR1)) & SR1_TBY) == 1 && --timo)          while (((*(volatile uint32_t *)(sacom_base + SACOM_SR1)) & SR1_TBY) == 1 && --timo)
                 ;                  ;
 }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb