Subject: kern/20642: wi driver doesn't detect USRobotics 2415 adapter
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tripledes@eslack.org>
List: netbsd-bugs
Date: 03/08/2003 19:58:02
>Number:         20642
>Category:       kern
>Synopsis:       wi driver doesn't detect USRobotics 2415 adapter
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 09 15:38:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergio Jimenez
>Release:        NetBSD 1.6P
>Organization:
	HispaBSD
>Environment:
System: NetBSD thor.tripledes.net 1.6P NetBSD 1.6P (GENERIC) #0: Fri Mar 7 02:17:01 CET 2003 root@thor.tripledes.net:/var/world/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	USRobotics Wireless 11Mbps pcmcia card is detecte without any problems on laptop, but when you try pci adapter (included on same pack) on desktop box, both aren't detected.
>How-To-Repeat:
	Buy an USRobotics Wireless Access PCI adapter (model num. 132415), and test it.
>Fix:

I've included two patches for ${BSDSRCDIR}/sys/dev/pci/pcidevs and same path/if_wi_pci.c :

Index: pcidevs
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs,v
retrieving revision 1.512
diff -u -r1.512 pcidevs
--- pcidevs     2003/03/06 22:25:23     1.512
+++ pcidevs     2003/03/08 18:28:21
@@ -518,6 +518,7 @@
 vendor ALTEON          0x12ae  Alteon
 vendor RISCOM          0x12aa  RISCom
 vendor USR             0x12b9  US Robotics (3Com)
+vendor USR2            0x16ec  US Robotics
 vendor PICTUREEL       0x12c5  Picture Elements
 vendor NVIDIA_SGS      0x12d2  Nvidia Corporation & SGS Thomson Microelectric
 vendor RAINBOW         0x12de  Rainbow Technologies
@@ -2221,6 +2222,7 @@
 /* US Robotics products */
 product USR 3C2884A    0x1007  56K Voice Internal PCI Modem (WinModem)
 product USR 3CP5609    0x1008  3CP5609 PCI 16550 Modem
+product USR2 2415      0x3685  Wireless PCI-PCMCIA adapter
 
 /* V3 Semiconductor products */
 product V3 V292PBC     0x0292  V292PBC AMD290x0 Host-PCI Bridge


Index: if_wi_pci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_wi_pci.c,v
retrieving revision 1.16
diff -u -r1.16 if_wi_pci.c
--- if_wi_pci.c 2003/01/02 06:26:49     1.16
+++ if_wi_pci.c 2003/03/08 18:28:53
@@ -119,6 +119,8 @@
          NULL, 1 },
        { PCI_VENDOR_INTERSIL,          PCI_PRODUCT_INTERSIL_MINI_PCI_WLAN,
          "Intersil Prism2.5", 0 },
+       { PCI_VENDOR_USR2,              PCI_PRODUCT_USR2_2415,
+         NULL, 1 },
        { 0,                            0,
          NULL, 0},
 };

After they have been applied you have to run "make -f Makefile.pcidevs" in "src/sys/dev/pci" and recompile your kernel with wi support.
>Release-Note:
>Audit-Trail:
>Unformatted: