Re: WLI2-CB-G54L doesn't work

Yoichi Nakayama <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Organization Geiin.org
Message-ID <87d5tri5c2.wl%[email protected]>
At Mon, 21 Mar 2005 19:44:44 +0900,
Yoichi Nakayama wrote:
> I invoked pciconf -l -v and it describes the card as
> none6@pci1:0:0: class=0x020000 card=0x03341154 chip=0x222017fe rev=0x00 hdr=0x00
>     vendor   = 'InProComm Inc'
>     class    = network
>     subclass = ethernet
> 
> http://pciids.sourceforge.net/pci.ids saids
> 17fe  Linksys, A Division of Cisco Systems
>    2220  [AirConn] INPROCOMM IPN 2220 Wireless LAN Adapter (rev 01)
> 
> I noticed I have misthought that it has ath chip, and I looked at
>   http://buffalo.melcoinc.co.jp/download/driver/lan/wdrv.html (in Japanese)
> again. Then I found that I've wrongly looked at WLI-CB-AG54L spec instead
> of WLI2-CB-G54L which I have.

Then I tried ndis driver, but I got following panic on "ifconfig ndis0 up":
panic: _mtx_lock_sleep: recursed on non-recursive mutex ndis softc lock @ /usr/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c:1463
It is caused by recursive lock introduced in if_ndis.c rev 1.82.
Is the following change correct? My card works with this change.

--- if_ndis.c.orig	2005-03-23 09:15:49.055453632 +0900
+++ if_ndis.c	2005-03-23 09:15:45.088056768 +0900
@@ -1469,9 +1469,11 @@
 
 	NDIS_LOCK(sc);
 	sc->ndis_block->nmb_getstat = 0;
+	NDIS_UNLOCK(sc);
 	if (ndis_init_nic(sc))
 		return;
 
+	NDIS_LOCK(sc);
 	/*
 	 * 802.11 NDIS drivers are supposed to generate a link
 	 * down event right when you initialize them. You wait
-- 
Yoichi NAKAYAMA

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.