Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2001 10:09:47 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        Sergey Solyanik <solik@sumy.net>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: PLX PCI9052 
Message-ID:  <200106201609.f5KG9lV70257@harmony.village.org>
In-Reply-To: Your message of "Wed, 20 Jun 2001 13:58:25 %2B0300." <20010620135825.A494@solikus.sumy.net> 
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> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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