Date: Wed, 23 Mar 2005 09:17:01 +0900 From: Yoichi Nakayama <yoichi@FreeBSD.org> To: freebsd-mobile@freebsd.org Cc: wpaul@freebsd.org Subject: Re: WLI2-CB-G54L doesn't work Message-ID: <87d5tri5c2.wl%yoichi@FreeBSD.org> In-Reply-To: <874qf5qnvn.wl%yoichi@FreeBSD.org> References: <87zmwyclyb.wl%yoichi@FreeBSD.org> <20050320.102234.105099355.imp@bsdimp.com> <87y8cici5l.wl%yoichi@FreeBSD.org> <20050320.140430.82508419.imp@bsdimp.com> <87oedddc35.wl%yoichi@FreeBSD.org> <874qf5qnvn.wl%yoichi@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87d5tri5c2.wl%yoichi>