Date: Thu, 21 Jun 2001 14:40:34 +0300 From: Sergey Solyanik <solik@sumy.net> To: Warner Losh <imp@harmony.village.org> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: PLX PCI9052 Message-ID: <20010621144034.A510@solikus.sumy.net> In-Reply-To: <200106201609.f5KG9lV70257@harmony.village.org>; from imp@harmony.village.org on Wed, Jun 20, 2001 at 10:09:47AM -0600 References: <20010620135825.A494@solikus.sumy.net> <20010620083803.B4018@solikus.sumy.net> <20010619172019.D2222@solikus.sumy.net> <200106191921.f5JJL2V64412@harmony.village.org> <20010620083803.B4018@solikus.sumy.net> <200106200540.f5K5epV67237@harmony.village.org> <20010620135825.A494@solikus.sumy.net> <200106201609.f5KG9lV70257@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 20, 2001 at 10:09:47AM -0600, Warner Losh wrote: > In message <20010620135825.A494@solikus.sumy.net> Sergey Solyanik writes: > : wi0: mac read failed 5 > : device_probe_and_attach: wi0 attach returned 5 > > In current there's a fix for this. Basically, you need to add a > second read of the mac. This fix should go into stable soon. At least > one other person hit this problem: > > /* Read the station address. */ > mac.wi_type = WI_RID_MAC_NODE; > mac.wi_len = 4; > + wi_read_record(sc, (struct wi_ltv_gen *)&mac); > if ((error = wi_read_record(sc, (struct wi_ltv_gen *)&mac)) != 0) { > device_printf(dev, "mac read failed %d\n", error); > wi_free(dev); > return (error); > } Thanx a lot, it worked just great! Anybody interested in adding that card in source tree? -- SSV3-RIPE Does your software support http://www.sumy.net/ RFC 2821 and RFC 2822? Eh? 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?20010621144034.A510>