Re: Don't recognizes Realtek 8139

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Sat, 08 May 2004 00:19:44 -0600 (MDT)
In message: <1083945436.70731.4.camel_at_toomany.toomany.net>
            TooManySecrets <toomany_at_toomany.net> writes:
: El vie, 07-05-2004 a las 16:59, M. Warner Losh escribió:
: > In message: <1083941740.70731.1.camel_at_toomany.toomany.net>
: >             TooManySecrets <toomany_at_toomany.net> writes:
: > : El vie, 07-05-2004 a las 16:16, M. Warner Losh escribió:
: > : > 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 the
: > listing from Linux clearly shows that the device is there.
: 
: Aham... And now? Can I help you? Sorry for the "printf" suggestion, but
: 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
Received on Sun May 09 2004 - 06:35:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:53 UTC