According to FreeBSD changelog, this area is present in 5416 and newer
and must be byteswapped on big-endian systems. Testing confirms it.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3701
0192ed92-7a03-0410-a25b-
9323aeb14dbd
* by the PCI clock domain registers.
*/
#if (AH_BYTE_ORDER == AH_BIG_ENDIAN)
-#define is_reg_le(__reg) ((0x4000 <= (__reg) && (__reg) < 0x5000))
+#define is_reg_le(__reg) ((0x4000 <= (__reg) && (__reg) < 0x5000) || \
+ (0x7000 <= (__reg) && (__reg) < 0x8000))
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)
#define _OS_REG_WRITE(_ah, _reg, _val) do { \
is_reg_le(_reg) ? \