From owner-freebsd-mobile Thu Jun 21 4:40:48 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from solikus.sumy.net (solikus.sumy.net [194.153.148.218]) by hub.freebsd.org (Postfix) with ESMTP id 89D5A37B401 for ; Thu, 21 Jun 2001 04:40:44 -0700 (PDT) (envelope-from solik@solikus.sumy.net) Received: (from solik@localhost) by solikus.sumy.net (8.11.4/8.11.4) id f5LBeYS00527; Thu, 21 Jun 2001 14:40:34 +0300 (EEST) (envelope-from solik) Date: Thu, 21 Jun 2001 14:40:34 +0300 From: Sergey Solyanik To: Warner Losh Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: PLX PCI9052 Message-ID: <20010621144034.A510@solikus.sumy.net> Mail-Followup-To: Sergey Solyanik , Warner Losh , freebsd-mobile@FreeBSD.ORG 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> <20010620135825.A494@solikus.sumy.net> <200106201609.f5KG9lV70257@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106201609.f5KG9lV70257@harmony.village.org>; from imp@harmony.village.org on Wed, Jun 20, 2001 at 10:09:47AM -0600 X-BeerTo: solik@sumy.net Organization: SIM, ISP 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? -- SSV3-RIPE Does your software support http://www.sumy.net/ RFC 2821 and RFC 2822? Eh? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message