Date: Mon, 23 Dec 2002 09:31:42 -0800 From: "Sanjay Waghray" <swaghray@yahoo.com> To: "M. Warner Losh" <imp@bsdimp.com> Cc: <freebsd-mobile@freebsd.org> Subject: RE: Linksys WMP11 Message-ID: <NIEMJEIGGPEDAKAKBLAHEEKGFDAA.swaghray@yahoo.com> In-Reply-To: <20021223.062147.68337404.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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: <WMP-11> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NIEMJEIGGPEDAKAKBLAHEEKGFDAA.swaghray>