Changeset 4068 for madwifi/branches/madwifi-hal-0.10.5.6/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-0.10.5.6/ath_hal/ah_os.h
r3748 r4068 199 199 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) 200 200 # 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 \ 203 204 iowrite32be((_val), (_ah)->ah_sh + (_reg)); \ 204 205 } while (0)
