From owner-freebsd-mobile Thu Jun 21 6: 6:23 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 89E2E37B401 for ; Thu, 21 Jun 2001 06:06:20 -0700 (PDT) (envelope-from danny@cs.huji.ac.il) Received: from sexta.cs.huji.ac.il ([132.65.16.13] ident=exim) by cs.huji.ac.il with esmtp (Exim 3.22 #1) id 15D49v-0001Mg-00; Thu, 21 Jun 2001 16:06:07 +0300 Received: from localhost ([127.0.0.1] helo=sexta.cs.huji.ac.il ident=danny) by sexta.cs.huji.ac.il with esmtp (Exim 3.15 #1) id 15D49u-0006J3-00; Thu, 21 Jun 2001 16:06:06 +0300 X-Mailer: exmh version 2.2 06/23/2000 with nmh-0.24 To: Sergey Solyanik Cc: Warner Losh , freebsd-mobile@FreeBSD.ORG Subject: Re: PLX PCI9052 In-Reply-To: Message from Sergey Solyanik of "Thu, 21 Jun 2001 14:40:34 +0300." <20010621144034.A510@solikus.sumy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 21 Jun 2001 16:06:06 +0300 From: Danny Braniss Message-Id: Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > 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