Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 00:18:07 +0800 (CST)
From:      foxfair <foxfair@Builder.IT.CSE.nsysu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        freebsd-mobile@freebsd.org
Subject:   Make FreeBSD recognize new ASUS WL-100 Wireless Card 
Message-ID:  <200303081618.h28GI7q9018934@Builder.IT.CSE.nsysu.edu.tw>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Foxfair Hu
>Organization:	
>Confidential:	no 
>Synopsis:	Make FreeBSD recognize new ASUS WL-100 Wireless Card 
>Severity:	non-critical
>Priority:	low
>Category:	i386
>Class:		change-request 
>Release:	FreeBSD 5.0-CURRENT
>Environment:
System: FreeBSD FreeBSD 5.0-CURRENT


	
>Description:
  This patch is not made by me. The credit goes to the original
submitter <cym@center.fjtc.edu.tw>. Apply the following patches
could make FreeBSD recognize ASUS WL-100 Wireless Card. 3 files
are modifed by this patch:

	/sys/dev/wi/if_wi_pccard.c
	/sys/dev/pccard/pccarddevs
	/sys/dev/pccard/pccarddevs.h

  Since the diff didn't locate the file location, one who wanna
try this patch should cd to the proper directory himself. Please
take this patch as well and contact the submitter if you can
make it better!

  Someone in -mobile can look into this patch and test it please?
	
>How-To-Repeat:
	
>Fix:
Apply the patch:

*** if_wi_pccard.c.bak	Wed Mar  5 17:28:36 2003
--- if_wi_pccard.c	Wed Mar  5 17:35:31 2003
***************
*** 145,150 ****
--- 145,151 ----
  	PCMCIA_CARD(INTEL, PRO_WLAN_2011, 0),
  	PCMCIA_CARD(INTERSIL, PRISM2, 0),
  	PCMCIA_CARD(IODATA2, WNB11PCM, 0),
+ 	PCMCIA_CARD(ASUS, WL100, 0),
  	PCMCIA_CARD(LINKSYS2, IWN, 0),
  	PCMCIA_CARD(LINKSYS2, IWN3, 0),
  	PCMCIA_CARD(LINKSYS2, WCF11, 0),
	

*** pccarddevs.bak	Wed Mar  5 17:24:44 2003
--- pccarddevs	Wed Mar  5 17:28:12 2003
***************
*** 92,97 ****
--- 92,98 ----
  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
***************
*** 244,249 ****
--- 245,253 ----
  /* I-O DATA */
  product IODATA PCLATE		0x2216 I-O DATA PCLA/TE
  product IODATA2 WNB11PCM	0x0002 I-O DATA WN-B11/PCM
+ 
+ /* ASUS WL-100 */
+ product	ASUS WL-100		0x0002 ASUS ASUS SpaceLink WL-100 Wireless LAN
  
  /* Kingston Products */
  product KINGSTON KNE2		0x0100 Kingston KNE-PC2 Ethernet

*** pccarddevs.h.bak	Wed Mar  5 18:32:04 2003
--- pccarddevs.h	Thu Mar  6 00:51:06 2003
***************
*** 386,391 ****
--- 386,394 ----
  #define	PCMCIA_PRODUCT_IODATA2_WNB11PCM	0x0002
  #define	PCMCIA_STR_IODATA2_WNB11PCM	"I-O DATA WN-B11/PCM"
  
+ /* ASUS WL-100 */
+ #define PCMCIA_STR_ASUS_WL100		"ASUS WL-100"
+ 
  /* Kingston Products */
  #define	PCMCIA_CIS_KINGSTON_KNE2	{ NULL, NULL, NULL, NULL }
  #define	PCMCIA_PRODUCT_KINGSTON_KNE2	0x0100
***************
*** 772,778 ****
--- 775,784 ----
  #define	PCMCIA_VENDOR_WORKBIT2	-1	/* WORKBIT */
  #define	PCMCIA_VENDOR_YEDATA	-1	/* Y-E DATA */
  #define	PCMCIA_VENDOR_ZOOM	-1	/* ZOOM */
+ #define	PCMCIA_VENDOR_ASUS	-1	/* ASUS */
  
+ #define	PCMCIA_CIS_ASUS_WL100		{ "ASUS", "802_11b_PC_CARD_25", "Version 01.00", NULL }
+ #define	PCMCIA_PRODUCT_ASUS_WL100	-1
  #define	PCMCIA_CIS_ACCTON_EN2212	{ "ACCTON", "EN2212", NULL, NULL }
  #define	PCMCIA_PRODUCT_ACCTON_EN2212	-1
  #define	PCMCIA_STR_ACCTON_EN2212	"Accton EN2212"




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303081618.h28GI7q9018934>