From v.oostveen@hccnet.nl  Fri Sep 19 10:29:56 2003
Return-Path: <v.oostveen@hccnet.nl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 89CC016A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Sep 2003 10:29:56 -0700 (PDT)
Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 676C443FAF
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Sep 2003 10:29:55 -0700 (PDT)
	(envelope-from v.oostveen@hccnet.nl)
Received: from spare.hccnet.nl by smtp.hccnet.nl
	via spare.hccnet.nl [62.251.0.29] with ESMTP for <FreeBSD-gnats-submit@freebsd.org>
	id h8JHTrGC011860 (8.12.10/2.03); Fri, 19 Sep 2003 19:29:54 +0200 (MET DST)
Message-Id: <200309191729.h8JHTrGC011860@smtp.hccnet.nl>
Date: Fri, 19 Sep 2003 17:29:52 UT
From: v.oostveen@hccnet.nl
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] Asus wl-100 (pcmcia wifi) supported but not in wi driver

>Number:         57015
>Category:       kern
>Synopsis:       [patch] Asus wl-100 (pcmcia wifi) supported but not in wi driver
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 19 10:40:10 PDT 2003
>Closed-Date:    Mon Jan 10 17:36:57 MST 2005
>Last-Modified:  Mon Jan 10 17:36:57 MST 2005
>Originator:     Bas van Oostveen
>Release:        FreeBSD 5.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD ryoko.shrine.net 5.1-RELEASE-p5 FreeBSD 5.1-RELEASE-p5 #1: Fri Sep 
19 18:36:44 CEST 2003 root@ryoko.shrine.net:/usr/obj/net/source/FreeBSD/5-RELEASE/s
rc/sys/RYOKO i386


        
>Description:
        
the asus wl-100 pcmcia wireless lan adaptor is supported by freebsd
(prism chipset) but is not listed in the vendor/product info

i made 2 pathes which will add the vendor/product information/id's of the 
asus wl-100 card in if_wi_pccard.c and pccarddevs

>How-To-Repeat:
        
>Fix:
        

first add the card information to /etc/pccard.conf or /etc/defaults/pccard.conf:

card "ASUS" "802_11b_PC_CARD_25"
        config auto "wi" ?
        insert /etc/pccard_ether $device start
        remove /etc/pccard_ether $device stop

then apply the 2 patches to sys/dev/pccard/pccarddevs and
 sys/dev/wi/if_wi_pccard.c

recompile, install and boot the new kernel and my asus wl-100 pcmcia card works


--- pccarddevs  Sun Apr 27 05:31:47 2003
+++ pccarddevs.added_asus       Fri Sep 19 18:48:35 2003
@@ -92,6 +92,7 @@
 vendor BUFFALO                 0x026f  BUFFALO (Melco Corporation)
 vendor LINKSYS2                        0x0274  The Linksys Group
 vendor IODATA2                 0x028a  I-O DATA
+vendor ASUS                    0x02aa  ASUS
 vendor NWN                     0x0602  No Wires Needed
 vendor BREEZECOM               0x0a02  BreezeCOM
 vendor NEWMEDIA2               0x10cd  NewMedia
@@ -153,6 +154,9 @@
 
 /* Archos */
 product        ARCHOS ARC_ATAPI        0x0043 MiniCD
+
+/* Asus */
+product ASUS WL_100            0x0002 Asus WL-100 Wireless LAN
 
 /* Bay Networks */
 product BAY STACK_650          0x0804 BayStack 650 Wireless LAN

--- if_wi_pccard.c      Sun Apr 27 05:34:05 2003
+++ if_wi_pccard.c.added_asus   Fri Sep 19 18:48:45 2003
@@ -124,6 +124,7 @@
 static const struct pccard_product wi_pccard_products[] = {
        PCMCIA_CARD(3COM, 3CRWE737A, 0),
        PCMCIA_CARD(3COM, 3CRWE777A, 0),
+       PCMCIA_CARD(ASUS, WL_100, 0),
        PCMCIA_CARD(ACTIONTEC, PRISM, 0),
        PCMCIA_CARD(ADDTRON, AWP100, 0),
        PCMCIA_CARD(ALLIEDTELESIS, WR211PCM, 0),

--_----------=_1063992592217700--

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: arved 
Responsible-Changed-When: Fri Aug 27 16:49:00 GMT 2004 
Responsible-Changed-Why:  
Over to wi(4) maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57015 
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Mon Jan 10 17:36:42 MST 2005 
State-Changed-Why:  
This has already been fixed in current. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=57015 
>Unformatted:
 This is a multi-part message in MIME format.
 
 --_----------=_1063992592217700
 Content-Disposition: inline
 Content-Length: 2524
 Content-Transfer-Encoding: binary
 Content-Type: text/plain
 
 
