Subject: kern/14739: BUFFALO WLAN card WLI-CF-S11G info
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
List: netbsd-bugs
Date: 11/27/2001 01:40:36
>Number:         14739
>Category:       kern
>Synopsis:       BUFFALO WLAN card WLI-CF-S11G info
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 26 08:42:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5Y (2001/11/21)
>Organization:
FUKAUMI Naoki
>Environment:
	cbb (RICOH R5C475II) on i386, pcmcia on hpcmips
>Description:
	Device attach failed because pcmciadevs and if_wi_pcmcia.c hasn't
	WLI-CF-S11G entry.
>How-To-Repeat:
	Attach WLI-CF-S11G.
>Fix:
	Apply patch and do "make -f Makefile.pcmciadevs".

Index: if_wi_pcmcia.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pcmcia/if_wi_pcmcia.c,v
retrieving revision 1.13
diff -u -r1.13 if_wi_pcmcia.c
--- if_wi_pcmcia.c	2001/11/18 04:27:49	1.13
+++ if_wi_pcmcia.c	2001/11/26 16:07:10
@@ -198,6 +198,11 @@
 	  PCMCIA_CIS_BUFFALO_WLI_PCM_S11,
 	  PCMCIA_STR_BUFFALO_WLI_PCM_S11 },
 
+	{ PCMCIA_VENDOR_BUFFALO,
+	  PCMCIA_PRODUCT_BUFFALO_WLI_CF_S11G,
+	  PCMCIA_CIS_BUFFALO_WLI_CF_S11G,
+	  PCMCIA_STR_BUFFALO_WLI_CF_S11G },
+
 	{ PCMCIA_VENDOR_EMTAC,
 	  PCMCIA_PRODUCT_EMTAC_WLAN,
 	  PCMCIA_CIS_EMTAC_WLAN,
Index: pcmciadevs
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pcmcia/pcmciadevs,v
retrieving revision 1.147
diff -u -r1.147 pcmciadevs
--- pcmciadevs	2001/11/19 05:24:26	1.147
+++ pcmciadevs	2001/11/26 16:07:11
@@ -144,7 +144,8 @@
 product BREEZECOM BREEZENET	0x0102 BreezeCOM BreezeNET
 
 /* BUFFALO */
-product BUFFALO WLI_PCM_S11	0x0305	BUFFALO AirStation 11Mbps WLAN
+product BUFFALO WLI_PCM_S11	0x0305 BUFFALO AirStation 11Mbps PC Card
+product BUFFALO WLI_CF_S11G	0x030b BUFFALO AirStation 11Mbps CF Type Card
 
 /* Compaq Products */
 product COMPAQ NC5004		0x0002 Compaq Agency NC5004 Wireless Card

	After patch, dmesg print...
  :
pcmcia0: CIS version PC Card Standard 5.0
pcmcia0: CIS info: BUFFALO, WLI-CF-S11G, , 
pcmcia0: Manufacturer code 0x26f, product 0x30b
pcmcia0: function 0: network adapter, ccr addr 3e0 mask 1
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6, iospace 0-3f; io16 irqshare irqpulse irqlevel
  :
wi0: using RF:PRISM2.5 MAC:ISL3873, Firmware: 1.3 variant 4
  :
>Release-Note:
>Audit-Trail:
>Unformatted: