Subject: kern/13711: pcmciadevs/if_wi_pcmcia changes to support Symbol Spectrum24
To: None <gnats-bugs@gnats.netbsd.org>
From: seebs <seebs@ged.plethora.net>
List: netbsd-bugs
Date: 08/13/2001 17:45:04
>Number:         13711
>Category:       kern
>Synopsis:       Symbol's Spectrum24 pcmcia/prism2 card isn't probed.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 13 15:42:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     seebs
>Release:        -current
>Organization:
	
>Environment:
System: NetBSD ged.plethora.net 1.5X NetBSD 1.5X (GED) #26: Mon Aug 13 17:40:03 CDT 2001 root@ged.plethora.net:/usr/src/sys/arch/i386/compile/GED i386
Architecture: i386
Machine: i386
>Description:
	The Symbol technologies "Spectrum24" wireless card I have wasn't
	probed.  I added it to pcmciadevs, and now it's fine.

>How-To-Repeat:
	Get Symbol to send you a card for driver development.

>Fix:
Add this to pcmciadevs:
product SIMPLETECH SPECTRUM24_ALT { "Symbol&spTechnologies", "LA4111&spSpectrum24&spWireless&spLAN&spPC&spCard", NULL, NULL } LA4111 Spectrum24 Wireless LAN PC Card

You can also use "0x1" instead of the {} string, and use the product ID, but I
think the CIS string is better.

Then, add this to if_wi_pcmcia.c:

	{ PCMCIA_VENDOR_SIMPLETECH,
	  PCMCIA_PRODUCT_SIMPLETECH_SPECTRUM24_ALT,
	  PCMCIA_CIS_SIMPLETECH_SPECTRUM24_ALT,
	  PCMCIA_STR_SIMPLETECH_SPECTRUM24_ALT },

This now works:
wi0 at pcmcia1 function 0: Symbol Technologies, LA4111 Spectrum24 Wireless LAN PC Card, 1.00
wi0: 802.11 address 00:a0:f8:90:bc:87
wi0: using RF:PRISM2 MAC:HFA3841 ,Firmware: 1.1 variant 2
uhub1: 4 ports with 4 removable, self powered

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