From owner-freebsd-mobile Mon Dec 23 9:30:30 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3315A37B401 for ; Mon, 23 Dec 2002 09:30:29 -0800 (PST) Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by mx1.FreeBSD.org (Postfix) with SMTP id C3EC643ED8 for ; Mon, 23 Dec 2002 09:30:28 -0800 (PST) (envelope-from swaghray@yahoo.com) Received: from adsl-67-114-164-44.dsl.snfc21.pacbell.net (HELO tiger) (swaghray@67.114.164.44 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 23 Dec 2002 17:30:28 -0000 Reply-To: From: "Sanjay Waghray" To: "M. Warner Losh" Cc: Subject: RE: Linksys WMP11 Date: Mon, 23 Dec 2002 09:31:42 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <20021223.062147.68337404.imp@bsdimp.com> 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 > > You might try the following patch: > > Index: if_wi_pci.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/wi/if_wi_pci.c,v > retrieving revision 1.8.2.3 > diff -u -r1.8.2.3 if_wi_pci.c > --- if_wi_pci.c 16 Jun 2002 18:07:18 -0000 1.8.2.3 > +++ if_wi_pci.c 23 Dec 2002 13:22:12 -0000 > @@ -140,7 +140,7 @@ > command |= wanted; > pci_write_config(dev, PCIR_COMMAND, command, 4); > command = pci_read_config(dev, PCIR_COMMAND, 4); > - if ((command & wanted) != wanted) { > + if ((command & wanted) == 0) { > device_printf(dev, "wi_pci_attach() failed to > enable pci!\n"); > return (ENXIO); > } > I did and this is what I get: Dec 23 09:30:24 dell /kernel: wi0: mem 0xeb000000-0xeb001fff irq 11 at device 11.0 on pci0 Dec 23 09:30:24 dell /kernel: wi0: couldn't reset prism2.5 core. Dec 23 09:30:24 dell /kernel: device_probe_and_attach: wi0 attach returned 6 Any ideas? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message