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-testing/ath_hal/ah_os.h

    r3862 r4068  
    206206# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) 
    207207#  define _OS_REG_WRITE(_ah, _reg, _val) do {                   \ 
    208          is_reg_le(_reg) ?                                      \ 
    209           iowrite32((_val), (_ah)->ah_sh + (_reg)) :            \ 
     208         if (is_reg_le(_reg))                                   \ 
     209          iowrite32((_val), (_ah)->ah_sh + (_reg));             \ 
     210         else                                                   \ 
    210211          iowrite32be((_val), (_ah)->ah_sh + (_reg));           \ 
    211212        } while (0)