Subject: kern/17252: patch to add support for the Zcomax XI325 to wi(4)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jasper@pointless.net>
List: netbsd-bugs
Date: 06/14/2002 03:02:32
>Number:         17252
>Category:       kern
>Synopsis:       NetBSD dosn't support the Zcomax XI325 - now it can.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 13 19:03:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jasper Wallace
>Release:        NetBSD 1.5ZC
>Organization:
	not much.
>Environment:
System: NetBSD spagetti 1.5ZC NetBSD 1.5ZC (SPAGETTI) #0: Fri Apr 26 02:31:12 UTC 2002 jasper@spagetti:/usr/src/sys/arch/i386/compile/SPAGETTI i386
Architecture: i386
Machine: i386
>Description:
	NetBSD dosn't support the Zcomax XI325 - now it can. 
>How-To-Repeat:
	Insert a Zcomax xi325 into a netbsd box. Obsorve that it isn't
	matched by wi(4).
>Fix:
	apply patch:

Index: pcmciadevs
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pcmcia/pcmciadevs,v
retrieving revision 1.172
diff -u -r1.172 pcmciadevs
--- pcmciadevs	2002/06/08 18:01:14	1.172
+++ pcmciadevs	2002/06/13 18:12:56
@@ -184,10 +184,11 @@
 /* Edimax Products */
 product EDIMAX	EP4000A		0x0100 Edimax EP4000A
 
-/* ELSA Products */
+/* ELSA Products (actually rebadged Zcomax (?)) */
 product ELSA MC2_IEEE		0x0001 AirLancer MC-2 IEEE
 product ELSA XI300_IEEE		0x0002 XI300 Wireless LAN
 product ELSA XI800_IEEE		0x0004 XI800 CF Wireless LAN
+product ELSA XI325_IEEE		0x0005 XI325 Wireless LAN
 
 /* EMTAC */
 product EMTAC WLAN		0x0002	EMTAC A2424i 11Mbps WLAN Card
--- if_wi_pcmcia.c	Thu Jun 13 19:20:41 2002
+++ if_wi_pcmcia.c.xi325	Thu Jun 13 19:20:18 2002
@@ -267,6 +267,11 @@
 	  PCMCIA_CIS_ACTIONTEC_PRISM,
 	  PCMCIA_STR_ACTIONTEC_PRISM },
 
+	{ PCMCIA_VENDOR_ELSA,
+	  PCMCIA_PRODUCT_ELSA_XI325_IEEE,
+	  PCMCIA_CIS_ELSA_XI325_IEEE,
+	  PCMCIA_STR_ELSA_XI325_IEEE },
+
 	{ 0,
 	  0,
 	  { NULL, NULL, NULL, NULL },
>Release-Note:
>Audit-Trail:
>Unformatted: