Skip to content

Commit aea0514

Browse files
Pavel Roskinlinvjw
authored andcommitted
orinoco_cs: be more careful when matching cards with ID 0x0156:0x0002
Without CONFIG_HERMES_PRISM, only match cards that have "Version 01.01" as the third product ID. Those have Agere firmware. With CONFIG_HERMES_PRISM, match all 0x0156:0x0002 cards. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent fb3d936 commit aea0514

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎drivers/net/wireless/orinoco/orinoco_cs.c‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ static int orinoco_cs_resume(struct pcmcia_device *link)
239239

240240
static const struct pcmcia_device_id orinoco_cs_ids[] = {
241241
PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0777), /* 3Com AirConnect PCI 777A */
242-
PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0002), /* Lucent Orinoco and old Intersil */
243242
PCMCIA_DEVICE_MANF_CARD(0x016b, 0x0001), /* Ericsson WLAN Card C11 */
244243
PCMCIA_DEVICE_MANF_CARD(0x01eb, 0x080a), /* Nortel Networks eMobility 802.11 Wireless Adapter */
245244
PCMCIA_DEVICE_MANF_CARD(0x0261, 0x0002), /* AirWay 802.11 Adapter (PCMCIA) */
@@ -272,6 +271,7 @@ static const struct pcmcia_device_id orinoco_cs_ids[] = {
272271
PCMCIA_DEVICE_PROD_ID12("PROXIM", "LAN PCI CARD HARMONY 80211B", 0xc6536a5e, 0x9f494e26),
273272
PCMCIA_DEVICE_PROD_ID12("SAMSUNG", "11Mbps WLAN Card", 0x43d74cb4, 0x579bd91b),
274273
PCMCIA_DEVICE_PROD_ID12("Symbol Technologies", "LA4111 Spectrum24 Wireless LAN PC Card", 0x3f02b4d6, 0x3663cb0e),
274+
PCMCIA_DEVICE_MANF_CARD_PROD_ID3(0x0156, 0x0002, "Version 01.01", 0xd27deb1a), /* Lucent Orinoco */
275275
#ifdef CONFIG_HERMES_PRISM
276276
/* Only entries that certainly identify Prism chipset */
277277
PCMCIA_DEVICE_MANF_CARD(0x000b, 0x7100), /* SonicWALL Long Range Wireless Card */
@@ -321,6 +321,9 @@ static const struct pcmcia_device_id orinoco_cs_ids[] = {
321321
PCMCIA_DEVICE_PROD_ID3("ISL37100P", 0x630d52b2),
322322
PCMCIA_DEVICE_PROD_ID3("ISL37101P-10", 0xdd97a26b),
323323
PCMCIA_DEVICE_PROD_ID3("ISL37300P", 0xc9049a39),
324+
325+
/* This may be Agere or Intersil Firmware */
326+
PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0002),
324327
#endif
325328
PCMCIA_DEVICE_NULL,
326329
};

0 commit comments

Comments
 (0)