Changeset 4068 for madwifi/branches/madwifi-hal-testing/ath_hal/ah_os.h
- Timestamp:
- 07/04/09 05:10:46 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
madwifi/branches/madwifi-hal-testing/ath_hal/ah_os.h
r3862 r4068 206 206 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) 207 207 # 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 \ 210 211 iowrite32be((_val), (_ah)->ah_sh + (_reg)); \ 211 212 } while (0)
