Date: Sat, 08 May 2004 00:19:44 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: toomany@toomany.net Cc: freebsd-current@freebsd.org Subject: Re: Don't recognizes Realtek 8139 Message-ID: <20040508.001944.35015896.imp@bsdimp.com> In-Reply-To: <1083945436.70731.4.camel@toomany.toomany.net> References: <1083941740.70731.1.camel@toomany.toomany.net> <20040507.085955.39156755.imp@bsdimp.com> <1083945436.70731.4.camel@toomany.toomany.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <1083945436.70731.4.camel@toomany.toomany.net> TooManySecrets <toomany@toomany.net> writes: : El vie, 07-05-2004 a las 16:59, M. Warner Losh escribi=F3: : > In message: <1083941740.70731.1.camel@toomany.toomany.net> : > TooManySecrets <toomany@toomany.net> writes: : > : El vie, 07-05-2004 a las 16:16, M. Warner Losh escribi=F3: : > : > What does pciconf -r pci0:7:0 0:0xff tell you? : > : = : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > = : > OK. So FreeBSD is definitely not seeing this device at all. Yet t= he : > listing from Linux clearly shows that the device is there. : = : Aham... And now? Can I help you? Sorry for the "printf" suggestion, b= ut : my C level is so poor... :-/ OK. I've taken a look. I'm thinking that there may be an issue with the i386 config register reading. src/sys/i386/pci/pci_cfgreg.c, look at pcireg_cfg{read,write} may be in error. you might try switching the inb/inw/outb/outw to inl/outl with masking. It likely won't matter, but it is worth a shot. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040508.001944.35015896.imp>