Show
Ignore:
Timestamp:
07/04/09 05:10:46 (3 years ago)
Author:
proski
Message:

Merge r4022, r4059 and r4061 from trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • madwifi/branches/madwifi-hal-0.10.5.6/ath_hal/ah_os.h

    r3748 r4068  
    199199# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) 
    200200#  define _OS_REG_WRITE(_ah, _reg, _val) do {                   \ 
    201          is_reg_le(_reg) ?                                      \ 
    202           iowrite32((_val), (_ah)->ah_sh + (_reg)) :            \ 
     201         if (is_reg_le(_reg))                                   \ 
     202          iowrite32((_val), (_ah)->ah_sh + (_reg));             \ 
     203         else                                                   \ 
    203204          iowrite32be((_val), (_ah)->ah_sh + (_reg));           \ 
    204205        } while (0)