From owner-freebsd-mobile Wed Jun 20 9:35:33 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id BB89037B407 for ; Wed, 20 Jun 2001 09:35:29 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.4/8.11.4) with ESMTP id f5KGZMi80992; Wed, 20 Jun 2001 17:35:22 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.4/8.11.4) with ESMTP id f5KGZLh33354; Wed, 20 Jun 2001 17:35:21 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200106201635.f5KGZLh33354@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Warner Losh Cc: Sergey Solyanik , freebsd-mobile@FreeBSD.org, brian@Awfulhak.org Subject: Re: PLX PCI9052 In-Reply-To: Message from Warner Losh of "Wed, 20 Jun 2001 10:09:47 MDT." <200106201609.f5KG9lV70257@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 20 Jun 2001 17:35:21 +0100 From: Brian Somers 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 Heh, that's probably worth a comment in the code - otherwise as soon as your back's turned someone'll do away with one of the reads :) > 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 -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message