rtlwifi: rtl8192se: Handle duplicate PCI ID 0x10ec:0x8192 conflict with r8192e_pci
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 19 Jun 2011 03:49:53 +0000 (22:49 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Jun 2011 18:56:56 +0000 (14:56 -0400)
commitfa7ccfb17033bfb5bca86f6b909cab0b807efbc0
tree5e4cc95ed1b6b98ae7837b1ff5f345fd85a67203
parent40fad6bad416fe337a4be194f524dd941e423cb9
rtlwifi: rtl8192se: Handle duplicate PCI ID 0x10ec:0x8192 conflict with r8192e_pci

There are two devices with PCI ID 0x10ec:0x8192, namely RTL8192E and
RTL8192SE. The method of distinguishing them is by the revision ID
at offset 0x8 of the PCI configuration space. If the value is 0x10,
then the device uses rtl8192se for a driver.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c