Don't recognizes Realtek 8139

M. Warner Losh imp at bsdimp.com
Sun May 9 08:35:36 PDT 2004


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


More information about the freebsd-current mailing list