Re: Linksys WMP11

"M. Warner Losh" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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 [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.