Subject: kern/12472: Patch for Cisco Systems 350 Series Wireless LAN Adapter
To: None <gnats-bugs@gnats.netbsd.org>
From: OGATA <ogata@isp.qix.org>
List: netbsd-bugs
Date: 03/26/2001 02:13:07
>Number:         12472
>Category:       kern
>Synopsis:       Patch for Cisco Systems 350 Series Wireless LAN Adapter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 25 09:13:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     OGATA Hiroshi
>Release:        1.5S of -d 20010301
>Organization:
>Environment:

System: NetBSD libretto 1.5S NetBSD 1.5S (GENERIC-0301-libretto) #0: Sun Mar 25 21:41:56 JST 2001 ogata@libretto:/export/syssrc0301/syssrc/sys/arch/i386/compile/GENERIC-0301-libretto i386


>Description:

Cisco Systems 350 Series Wireless LAN Adapter not configured.


>How-To-Repeat:

insert card.
kernel message is:
Cisco Systems, 350 Series Wireless LAN Adapter (manufacturer 0x015f, product 0x000a) function 0 not configured


>Fix:

Apply this patch and 'make -f Makefile.pcmciadevs' in sys/dev/pcmcia .
But I may not work tested.  I don't have other card and station.

an attached dmesg:
> an0 at pcmcia0 function 0: Cisco Systems, 350 Series Wireless LAN Adapter
>  port 0x400-0x43fpcmcia0: card irq 5
> an0: 802.11 address: xx:xx:xx:xx:xx:xx
# MAC address is ok

awi attached dmesg:
> awi0 at pcmcia0 function 0 port 0x400-0x43f: no suitable CIS info found

wi attached dmesg:
> wi0 at pcmcia0 function 0: Cisco Systems, 350 Series Wireless LAN Adapter
>  port 0x400-0x43fwi0: init failed
> wi0: timeout in wi_seek to fce0/0; last status 8000
> wi0: timeout in wi_seek to fc01/0; last status 4000
> wi0: could not get mac address, attach failed


I think good work 'an' driver.

At up an0, kernel say:
> /netbsd: an0: RID 0xff50 record length mismatch -- expected 134, got 136
I have no idea fix it.



*** sys/dev/pcmcia/pcmciadevs.orig	Sun Mar 25 20:17:13 2001
--- sys/dev/pcmcia/pcmciadevs	Sun Mar 25 20:18:42 2001
***************
*** 254,259 ****
--- 254,261 ----
  /* Aironet */
  product AIRONET PC4500		0x0005 Aironet PC4500 Wireless LAN Adapter
  product AIRONET PC4800		0x0007 Aironet PC4800 Wireless LAN Adapter
+ /* Cisco Systems */
+ product AIRONET 350_SERIES	0x000a Cisco Systems 350 Series Wireless LAN Adapter
  
  /* Bay Networks */
  product BAY STACK_650		0x0804 BayStack 650 Wireless LAN

*** sys/dev/pcmcia/if_an_pcmcia.c.orig	Sun Mar 25 21:25:55 2001
--- sys/dev/pcmcia/if_an_pcmcia.c	Sun Mar 25 21:29:00 2001
***************
*** 122,127 ****
--- 122,129 ----
  	  PCMCIA_CIS_AIRONET_PC4800,	PCMCIA_STR_AIRONET_PC4800 },
  	{ PCMCIA_VENDOR_AIRONET,	PCMCIA_PRODUCT_AIRONET_PC4500,
  	  PCMCIA_CIS_AIRONET_PC4500,	PCMCIA_STR_AIRONET_PC4500 },
+ 	{ PCMCIA_VENDOR_AIRONET,	PCMCIA_PRODUCT_AIRONET_350_SERIES,
+ 	  PCMCIA_CIS_AIRONET_350_SERIES,	PCMCIA_STR_AIRONET_350_SERIES },
  	{ 0,				0,
  	  { NULL, NULL, NULL, NULL },	NULL }
  };
>Release-Note:
>Audit-Trail:
>Unformatted: