From owner-freebsd-mobile Mon Dec 23 5:22:47 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 5809737B401 for ; Mon, 23 Dec 2002 05:22:46 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9760043EDA for ; Mon, 23 Dec 2002 05:22:45 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id gBNDMiuB075359; Mon, 23 Dec 2002 06:22:44 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 23 Dec 2002 06:21:47 -0700 (MST) Message-Id: <20021223.062147.68337404.imp@bsdimp.com> To: swaghray@yahoo.com Cc: freebsd-mobile@freebsd.org Subject: Re: Linksys WMP11 From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message