Subject: kern/20932: Corega PCCL-11 (wi) not detected by kernel
To: None <gnats-bugs@gnats.netbsd.org>
From: Christopher SEKIYA <wileyc@rezrov.net>
List: netbsd-bugs
Date: 03/29/2003 23:55:53
>Number:         20932
>Category:       kern
>Synopsis:       Corega PCCL-11 (wi) not detected by kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 29 06:57:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Christopher SEKIYA
>Release:        NetBSD 1.6Q
>Organization:

>Environment:
	
	
System: NetBSD izu 1.6Q NetBSD 1.6Q (IZU) #0: Fri Mar 28 16:47:21 JST 2003 wileyc@izu:/usr/builder/sys/arch/i386/compile/IZU i386
Architecture: i386
Machine: i386
>Description:

	Newest wi-based Corega PCMCIA 802.11 interface, the PCCL-11,
	not detected by if_wi_pcmcia.c.  The patch below enables recognition.
	Works fine for me on sparc and i386.
>How-To-Repeat:
	Plug in a PCCL-11 and observe the lack of driver recognition.
>Fix:
This patch does the trick:

Index: pcmciadevs
===================================================================
RCS file: /cvsroot/src/sys/dev/pcmcia/pcmciadevs,v
retrieving revision 1.180
diff -u -r1.180 pcmciadevs
--- pcmciadevs	2003/03/27 12:19:44	1.180
+++ pcmciadevs	2003/03/29 14:47:05
@@ -420,6 +420,7 @@
 product COREGA WIRELESS_LAN_PCC_11	{ "corega&spK.K.", "Wireless&spLAN&spPCC-11", NULL, NULL } Corega Wireless LAN PCC-11
 product COREGA WIRELESS_LAN_PCCA_11	{ "corega&spK.K.", "Wireless&spLAN&spPCCA-11", NULL, NULL } Corega Wireless LAN PCCA-11
 product COREGA WIRELESS_LAN_PCCB_11	{ "corega_K.K.", "Wireless_LAN_PCCB-11", NULL, NULL } Corega Wireless LAN PCCB-11
+product COREGA WIRELESS_LAN_PCCL_11	{ "corega", "WL&spPCCL-11", NULL, NULL } Corega Wireless LAN PCCL-11
 
 product DIGITAL DEPCMXX		{ "DIGITAL", "DEPCM-XX", NULL, NULL } DEC DEPCM-BA
 product DLINK DE650		{ "D-Link", "DE-650", NULL, NULL } D-Link DE-650
Index: if_wi_pcmcia.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pcmcia/if_wi_pcmcia.c,v
retrieving revision 1.32
diff -u -r1.32 if_wi_pcmcia.c
--- if_wi_pcmcia.c	2002/12/29 12:11:45	1.32
+++ if_wi_pcmcia.c	2003/03/29 14:47:30
@@ -135,6 +135,11 @@
 	  PCMCIA_CIS_COREGA_WIRELESS_LAN_PCCB_11,
 	  PCMCIA_STR_COREGA_WIRELESS_LAN_PCCB_11 },
 
+	{ PCMCIA_VENDOR_COREGA,
+	  PCMCIA_PRODUCT_COREGA_WIRELESS_LAN_PCCL_11,
+	  PCMCIA_CIS_COREGA_WIRELESS_LAN_PCCL_11,
+	  PCMCIA_STR_COREGA_WIRELESS_LAN_PCCL_11 },
+
 	{ PCMCIA_VENDOR_INTEL,
 	  PCMCIA_PRODUCT_INTEL_PRO_WLAN_2011,
 	  PCMCIA_CIS_INTEL_PRO_WLAN_2011,
>Release-Note:
>Audit-Trail:
>Unformatted: