Date: Wed, 20 Jun 2001 17:35:21 +0100 From: Brian Somers <brian@Awfulhak.org> To: Warner Losh <imp@harmony.village.org> Cc: Sergey Solyanik <solik@sumy.net>, freebsd-mobile@FreeBSD.org, brian@Awfulhak.org Subject: Re: PLX PCI9052 Message-ID: <200106201635.f5KGZLh33354@hak.lan.Awfulhak.org> In-Reply-To: Message from Warner Losh <imp@harmony.village.org> of "Wed, 20 Jun 2001 10:09:47 MDT." <200106201609.f5KG9lV70257@harmony.village.org>
index | next in thread | previous in thread | raw e-mail
Heh, that's probably worth a comment in the code - otherwise as soon
as your back's turned someone'll do away with one of the reads :)
> 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);
> }
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-mobile" in the body of the message
--
Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org>
<http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106201635.f5KGZLh33354>
