From owner-freebsd-mobile Thu Jan 17 3:35:16 2002 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 CB01F37B400 for ; Thu, 17 Jan 2002 03:35:12 -0800 (PST) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=exim) by cs.huji.ac.il with esmtp (Exim 3.34 #1) id 16RAox-0003nL-00; Thu, 17 Jan 2002 13:35:03 +0200 Received: from localhost ([127.0.0.1] helo=pampa.cs.huji.ac.il ident=danny) by pampa.cs.huji.ac.il with esmtp (Exim 3.22 #2) id 16RAox-0008so-00; Thu, 17 Jan 2002 13:35:03 +0200 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: freebsd-mobile@FreeBSD.org Cc: Warner Losh Subject: Re: PLX PCI9052 /Intel PRO/Wireless 2011 LAN PC Card In-reply-to: Your message of Wed, 20 Jun 2001 22:46:06 +0300 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 17 Jan 2002 13:35:03 +0200 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 the fix made it int 4.5 but i get: : wi0: mac read failed 5 to be honest, i don't remember if this card ever worked under FreeBSD :-(. - the card is ok, since it does work under MS. danny > 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