diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2008-07-08 10:43:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-08 14:16:07 -0400 |
commit | 0e25b4ef220f6ef4eed120543182385b13005db9 (patch) | |
tree | 8c76baf2ad89cf1f703b4b0cb46f4c2b52ef2da2 /drivers/net/wireless/rtl818x.h | |
parent | 5c036b217a1fe3ae0616e9c43c6bcd13b3c134b6 (diff) |
rtl8187: Change detection of RTL8187B with USB ID of 8187
Some early versions of RTL8187B devices have a USB ID of 0x8187
rather than the 0x8189 of later models. In addition, it appears
that these early units also must be programmed with lower power.
Previous patches used the Product ID string to detect this situation,
but did not address the low power question. This patch uses the
hardware version and sets the power accordingly.
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/rtl818x.h')
-rw-r--r-- | drivers/net/wireless/rtl818x.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtl818x.h b/drivers/net/wireless/rtl818x.h index 85a6394e4309..00900fe16fce 100644 --- a/drivers/net/wireless/rtl818x.h +++ b/drivers/net/wireless/rtl818x.h | |||
@@ -66,8 +66,8 @@ struct rtl818x_csr { | |||
66 | #define RTL818X_TX_CONF_R8180_F (3 << 25) | 66 | #define RTL818X_TX_CONF_R8180_F (3 << 25) |
67 | #define RTL818X_TX_CONF_R8185_ABC (4 << 25) | 67 | #define RTL818X_TX_CONF_R8185_ABC (4 << 25) |
68 | #define RTL818X_TX_CONF_R8185_D (5 << 25) | 68 | #define RTL818X_TX_CONF_R8185_D (5 << 25) |
69 | #define RTL818X_TX_CONF_R8187vD_1 (5 << 25) | 69 | #define RTL818X_TX_CONF_R8187vD (5 << 25) |
70 | #define RTL818X_TX_CONF_R8187vD_2 (6 << 25) | 70 | #define RTL818X_TX_CONF_R8187vD_B (6 << 25) |
71 | #define RTL818X_TX_CONF_HWVER_MASK (7 << 25) | 71 | #define RTL818X_TX_CONF_HWVER_MASK (7 << 25) |
72 | #define RTL818X_TX_CONF_DISREQQSIZE (1 << 28) | 72 | #define RTL818X_TX_CONF_DISREQQSIZE (1 << 28) |
73 | #define RTL818X_TX_CONF_PROBE_DTS (1 << 29) | 73 | #define RTL818X_TX_CONF_PROBE_DTS (1 << 29) |