Subject: kern/13181: new an(4) PCI device number
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 06/12/2001 18:07:02
>Number:         13181
>Category:       kern
>Synopsis:       new an(4) PCI device number
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 12 18:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Release:        NetBSD-current Tue Jun 12 17:57:37 PDT 2001
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Environment:
	
System: NetBSD capsicum.wsrcc.com 1.5W NetBSD 1.5W (WSRCC_ATHLON) #22: Tue Jun 12 17:39:54 PDT 2001 wolfgang@capsicum.wsrcc.com:/v/src/netbsd/src/sys/arch/i386/compile/WSRCC_ATHLON i386
Architecture: i386
Machine: i386
>Description:
	Cisco's PCI card version of the Aironet is not recognized by NetBSD
>How-To-Repeat:
	insert a Cisco PCI532
	boot netbsd
>Fix:

This patch will get the card recognized and limping along.  It works,
but nobody would accuse it of working well.  One gets a continual
string of "an0: device timeout" messages every few seconds.  The ping
times to this card also suck, often over 1000ms.  (Pinging between two
an(4)'s on pcmcia laptops is in the single ms range.)

Index: pcidevs.h
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pci/pcidevs.h,v
retrieving revision 1.333
diff -u -r1.333 pcidevs.h
--- pcidevs.h	2001/06/11 21:13:49	1.333
+++ pcidevs.h	2001/06/12 22:49:40
@@ -708,6 +708,7 @@
 
 /* Aironet Wireless Communicasions products */
 #define	PCI_PRODUCT_AIRONET_PC4xxx	0x0001		/* Aironet PC4500/PC4800 Wireless LAN Adapter */
+#define	PCI_PRODUCT_AIRONET_PCI352	0x0350		/* Cisco/Aironet PCI352 Wireless LAN Adapter */
 #define	PCI_PRODUCT_AIRONET_PC4500	0x4500		/* Aironet PC4500 Wireless LAN Adapter */
 #define	PCI_PRODUCT_AIRONET_PC4800	0x4800		/* Aironet PC4800 Wireless LAN Adapter */
 
Index: pcidevs_data.h
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pci/pcidevs_data.h,v
retrieving revision 1.331
diff -u -r1.331 pcidevs_data.h
--- pcidevs_data.h	2001/06/11 21:13:50	1.331
+++ pcidevs_data.h	2001/06/12 22:49:58
@@ -658,6 +658,12 @@
 	    "ASB-3940U3W",
 	},
 	{
+	    PCI_VENDOR_AIRONET, PCI_PRODUCT_AIRONET_PCI352,
+	    0,
+	    "Cisco/Aironet Wireless Communications",
+	    "Cisco/Aironet PCI352 PCI Wireless LAN Adapter",
+	},
+	{
 	    PCI_VENDOR_AIRONET, PCI_PRODUCT_AIRONET_PC4xxx,
 	    0,
 	    "Aironet Wireless Communications",

	
>Release-Note:
>Audit-Trail:
>Unformatted: