]> err.no Git - linux-2.6/commit
rtl8187: Change detection of RTL8187B with USB ID of 8187
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 8 Jul 2008 14:43:43 +0000 (09:43 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Jul 2008 18:16:07 +0000 (14:16 -0400)
commit0e25b4ef220f6ef4eed120543182385b13005db9
tree8c76baf2ad89cf1f703b4b0cb46f4c2b52ef2da2
parent5c036b217a1fe3ae0616e9c43c6bcd13b3c134b6
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>
drivers/net/wireless/rtl8187_dev.c
drivers/net/wireless/rtl818x.h