Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 16:06:06 +0300
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        Sergey Solyanik <solik@sumy.net>
Cc:        Warner Losh <imp@harmony.village.org>, freebsd-mobile@FreeBSD.ORG
Subject:   Re: PLX PCI9052 
Message-ID:  <E15D49u-0006J3-00@sexta.cs.huji.ac.il>
In-Reply-To: Message from Sergey Solyanik <solik@sumy.net>  of "Thu, 21 Jun 2001 14:40:34 %2B0300." <20010621144034.A510@solikus.sumy.net>

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?

it also fixed my BreezeNET PC-DS.11!

# BreezeNET
card "BreezeNET" "PC-DS.11"
        config  auto "wi" ?
        insert  /etc/pccard_ether $device start
        remove  /etc/pccard_ether $device stop

danny



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?E15D49u-0006J3-00>