Subject: kern/11776: [rkb] SMC 2632W 802.11 PCMCIA card identified as Lucent WaveLan/IEEE
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rafal@mediaone.net>
List: netbsd-bugs
Date: 12/19/2000 08:18:15
>Number:         11776
>Category:       kern
>Synopsis:       SMC 2632W card identified as WaveLan/IEEE, really is PrismII
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 19 08:18:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        12/18/00
>Organization:
Highly unlikely
>Environment:
System: NetBSD cyclops.metatel.office 1.5O NetBSD 1.5O (CYCLOPS.4MB) #6: Tue Dec 19 00:13:25 EST 2000 rafal@cyclops.metatel.office:/extra/src-current/sys/arch/i386/compile/CYCLOPS.4MB i386
Architecture: i386
Machine: i386
>Description:
	The SMC 2632W card is identified as WaveLan/IEEE (via PCMCIA vendor/
	product codes), but in reality is PrismII based card.

	Since the 'wi' driver treats it like a Lucent card, it doesn't work
	so well (though the PrismII code needs tweaks to deal with it as well,
	but I'll leave that to others playing with the wi driver).

>How-To-Repeat:
	Plug in an SMC 2632W and watch it not work.

>Fix:

	(1) Apply patch to kern/11775, which adds the device info for the 
	    SMC card to 'pcmciadevs'.  The patch is attached here for 
	    reference:

Index: pcmciadevs
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pcmcia/pcmciadevs,v
retrieving revision 1.103
diff -b -u -r1.103 pcmciadevs
--- pcmciadevs	2000/12/08 18:37:24	1.103
+++ pcmciadevs	2000/12/19 16:04:25
@@ -316,3 +316,4 @@
 product NDC ND5100_E		{ "NDC", "Ethernet", "A", NULL } Sohoware ND5100E NE2000 Compatible Card
 product INTERSIL PRISM2		{ "INTERSIL", "HFA384x/IEEE", "Version 01.02", NULL} Intersil Prism II
 product MELCO LPC2_TX		{ "MELCO", "LPC2-TX", NULL, NULL } Melco LPC2-TX
+product SMC 2632W		{ "SMC", "SMC2632W", "Version 01.02", NULL } SMC 2632W EZ Connect Wireless PC Card

	(2) run 'make -f Makefile.pcmciadevs' in /sys/dev/pcmcia

	(3) Apply the follwing patch to 'if_wi.c'

Index: if_wi.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pcmcia/if_wi.c,v
retrieving revision 1.45
diff -b -u -r1.45 if_wi.c
--- if_wi.c	2000/12/14 06:29:38	1.45
+++ if_wi.c	2000/12/19 16:09:57
@@ -215,6 +215,12 @@
 	  PCMCIA_STR_SAMSUNG_SWL_2000N,
 	  1 },
 
+	{ PCMCIA_VENDOR_LUCENT,
+	  PCMCIA_PRODUCT_LUCENT_WAVELAN_IEEE,
+	  PCMCIA_CIS_SMC_2632W,
+	  PCMCIA_STR_SMC_2632W,
+	  1 },
+
 	{ 0,
 	  0,
 	  { NULL, NULL, NULL, NULL },
>Release-Note:
>Audit-Trail:
>Unformatted: