Subject: kern/26559: PATCH: Enable ASUS SpaceLink Wireless WL-100 PCMCIA
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <bsdlist@mumak.com>
List: netbsd-bugs
Date: 08/05/2004 17:38:53
>Number: 26559
>Category: kern
>Synopsis: ASUS SpaceLink Wireless WL-100 PCMCIA using Prims 2.5 chipset not recognized
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Thu Aug 05 16:13:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Sigfred Haversen
>Release: NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD laptop.mumak.com 2.0G NetBSD 2.0G (MYLAPTOP) #1: Thu Aug 5 16:16:35 CEST 2004 root@laptop.mumak.com:/usr/obj/sys/arch/i386/compile/MYLAPTOP i386
Architecture: i386
Machine: i386
>Description:
The ASUS SpaceLink Wireless LAN PC Card Model WL-100 is using the
Prism 2.5 chipset, but is not recognized by the kernel.
>How-To-Repeat:
Plug in the card.
>Fix:
Apply the following patch patch that enables the card.
dmesg output after applying the patch :
pcmcia0: CIS version PC Card Standard 5.0
pcmcia0: CIS info: ASUS, 802_11b_PC_CARD_25, Version 01.00,
pcmcia0: Manufacturer code 0x2aa, product 0x2
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 irqpulse irqlevel
wi0 at pcmcia0 function 0: <ASUS, 802_11b_PC_CARD_25, Version 01.00>
wi0: 802.11 address 00:e0:18:d6:10:d2
wi0: using RF:PRISM2.5 MAC:ISL3873B(PCMCIA)
wi0: Intersil Firmware: Primary (1.1.1), Station (1.5.6)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Index: pcmcia/if_wi_pcmcia.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pcmcia/if_wi_pcmcia.c,v
retrieving revision 1.43
diff -u -r1.43 if_wi_pcmcia.c
--- pcmcia/if_wi_pcmcia.c 7 Jul 2004 06:43:22 -0000 1.43
+++ pcmcia/if_wi_pcmcia.c 5 Aug 2004 15:07:44 -0000
@@ -229,6 +229,9 @@
{ PCMCIA_VENDOR_ARTEM, PCMCIA_PRODUCT_ARTEM_ONAIR,
PCMCIA_CIS_ARTEM_ONAIR },
+
+ { PCMCIA_VENDOR_ASUS, PCMCIA_PRODUCT_ASUS_WL_100,
+ PCMCIA_CIS_ASUS_WL_100 }
};
static const struct wi_pcmcia_product *
Index: pcmcia/pcmciadevs
===================================================================
RCS file: /cvsroot/src/sys/dev/pcmcia/pcmciadevs,v
retrieving revision 1.200
diff -u -r1.200 pcmciadevs
--- pcmcia/pcmciadevs 17 Jul 2004 19:55:14 -0000 1.200
+++ pcmcia/pcmciadevs 5 Aug 2004 15:07:45 -0000
@@ -91,6 +91,7 @@
vendor BUFFALO 0x026f BUFFALO (Melco Corporation)
vendor LINKSYS2 0x0274 The Linksys Group
vendor IODATA2 0x028a I-O DATA
+vendor ASUS 0x02aa ASUS
vendor BREEZECOM 0x0a02 BreezeCOM
vendor NEWMEDIA2 0x10cd NewMedia
vendor ACTIONTEC 0x1668 ACTIONTEC
@@ -129,6 +130,9 @@
product 3COM 3C1 0x0cf1 3Com Megahertz 3C1 10Mbps LAN CF+ Card
product 3COM 3CRWE62092A 0x2092 3Com 3CRWE62092A Wireless LAN
+/* ASUS Products */
+product ASUS WL_100 0x0002 ASUS SpaceLink WL-100 Wireless LAN
+
/* ACTIONTEC Products */
product ACTIONTEC PRISM 0x0101 PRISM Wireless LAN PC Card
Index: pcmcia/pcmciadevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pcmcia/pcmciadevs.h,v
retrieving revision 1.201
diff -u -r1.201 pcmciadevs.h
--- pcmcia/pcmciadevs.h 17 Jul 2004 19:55:28 -0000 1.201
+++ pcmcia/pcmciadevs.h 5 Aug 2004 15:07:45 -0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcmciadevs.h,v 1.201 2004/07/17 19:55:28 mycroft Exp $ */
+/* $NetBSD$ */
/*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
@@ -98,6 +98,7 @@
#define PCMCIA_VENDOR_BUFFALO 0x026f /* BUFFALO (Melco Corporation) */
#define PCMCIA_VENDOR_LINKSYS2 0x0274 /* The Linksys Group */
#define PCMCIA_VENDOR_IODATA2 0x028a /* I-O DATA */
+#define PCMCIA_VENDOR_ASUS 0x02aa /* ASUS */
#define PCMCIA_VENDOR_BREEZECOM 0x0a02 /* BreezeCOM */
#define PCMCIA_VENDOR_NEWMEDIA2 0x10cd /* NewMedia */
#define PCMCIA_VENDOR_ACTIONTEC 0x1668 /* ACTIONTEC */
@@ -156,6 +157,11 @@
#define PCMCIA_PRODUCT_3COM_3CRWE62092A 0x2092
#define PCMCIA_STR_3COM_3CRWE62092A "3Com 3CRWE62092A Wireless LAN"
+/* ASUS Products */
+#define PCMCIA_CIS_ASUS_WL_100 { NULL, NULL, NULL, NULL }
+#define PCMCIA_PRODUCT_ASUS_WL_100 0x0002
+#define PCMCIA_STR_ASUS_WL_100 "ASUS SpaceLink WL-100 Wireless LAN"
+
/* ACTIONTEC Products */
#define PCMCIA_CIS_ACTIONTEC_PRISM { NULL, NULL, NULL, NULL }
#define PCMCIA_PRODUCT_ACTIONTEC_PRISM 0x0101
Index: pcmcia/pcmciadevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pcmcia/pcmciadevs_data.h,v
retrieving revision 1.201
diff -u -r1.201 pcmciadevs_data.h
--- pcmcia/pcmciadevs_data.h 17 Jul 2004 19:55:28 -0000 1.201
+++ pcmcia/pcmciadevs_data.h 5 Aug 2004 15:07:46 -0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcmciadevs_data.h,v 1.201 2004/07/17 19:55:28 mycroft Exp $ */
+/* $NetBSD$ */
/*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
@@ -134,6 +134,13 @@
"3Com 3CRWE62092A Wireless LAN", }
,
{
+ PCMCIA_VENDOR_ASUS, PCMCIA_PRODUCT_ASUS_WL_100,
+ PCMCIA_CIS_ASUS_WL_100,
+ 0,
+ "ASUS",
+ "ASUS SpaceLink WL-100 Wireless LAN", }
+ ,
+ {
PCMCIA_VENDOR_ACTIONTEC, PCMCIA_PRODUCT_ACTIONTEC_PRISM,
PCMCIA_CIS_ACTIONTEC_PRISM,
0,
@@ -2053,6 +2060,14 @@
NULL,
},
{
+ PCMCIA_VENDOR_ASUS,
+ PCMCIA_KNOWNDEV_NOPROD,
+ PCMCIA_CIS_INVALID,
+ 0,
+ "ASUS",
+ NULL,
+ },
+ {
PCMCIA_VENDOR_BREEZECOM,
PCMCIA_KNOWNDEV_NOPROD,
PCMCIA_CIS_INVALID,
>Release-Note:
>Audit-Trail:
>Unformatted: