diff options
author | Herton Ronaldo Krzesinski <herton@mandriva.com.br> | 2008-07-10 17:55:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-14 14:52:56 -0400 |
commit | 4ece16a1cf9d36fee6d3ccb2c933296cf660e44d (patch) | |
tree | 9cf5e1364abb33f75950077900fc1acb2125da07 /drivers/net/wireless/rtl8187_rtl8225.h | |
parent | 9c0c7a429a0cf02c2ac1998d5cf4c26f6be5c989 (diff) |
rtl8187: use different ANAPARAM*_OFF values for 8187B
For RTL8187B it seems we need special values too for ANAPARAM*_OFF
values (and not use RTL8187 ones). The ANAPARAM*_OFF values used are the
stock ones read from the hardware after a cold boot.
Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl8187_rtl8225.h')
-rw-r--r-- | drivers/net/wireless/rtl8187_rtl8225.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtl8187_rtl8225.h b/drivers/net/wireless/rtl8187_rtl8225.h index d39ed0295b6e..20c5b6ead0f6 100644 --- a/drivers/net/wireless/rtl8187_rtl8225.h +++ b/drivers/net/wireless/rtl8187_rtl8225.h | |||
@@ -15,10 +15,17 @@ | |||
15 | #ifndef RTL8187_RTL8225_H | 15 | #ifndef RTL8187_RTL8225_H |
16 | #define RTL8187_RTL8225_H | 16 | #define RTL8187_RTL8225_H |
17 | 17 | ||
18 | #define RTL8225_ANAPARAM_ON 0xa0000a59 | 18 | #define RTL8187_RTL8225_ANAPARAM_ON 0xa0000a59 |
19 | #define RTL8225_ANAPARAM2_ON 0x860c7312 | 19 | #define RTL8187_RTL8225_ANAPARAM2_ON 0x860c7312 |
20 | #define RTL8225_ANAPARAM_OFF 0xa00beb59 | 20 | #define RTL8187_RTL8225_ANAPARAM_OFF 0xa00beb59 |
21 | #define RTL8225_ANAPARAM2_OFF 0x840dec11 | 21 | #define RTL8187_RTL8225_ANAPARAM2_OFF 0x840dec11 |
22 | |||
23 | #define RTL8187B_RTL8225_ANAPARAM_ON 0x45090658 | ||
24 | #define RTL8187B_RTL8225_ANAPARAM2_ON 0x727f3f52 | ||
25 | #define RTL8187B_RTL8225_ANAPARAM3_ON 0x00 | ||
26 | #define RTL8187B_RTL8225_ANAPARAM_OFF 0x55480658 | ||
27 | #define RTL8187B_RTL8225_ANAPARAM2_OFF 0x72003f50 | ||
28 | #define RTL8187B_RTL8225_ANAPARAM3_OFF 0x00 | ||
22 | 29 | ||
23 | const struct rtl818x_rf_ops * rtl8187_detect_rf(struct ieee80211_hw *); | 30 | const struct rtl818x_rf_ops * rtl8187_detect_rf(struct ieee80211_hw *); |
24 | 31 | ||