PCI lookup issue: 3c905C-TX not found by RTEMS.

Karel Gardas kgardas at objectsecurity.com
Tue Jan 18 22:23:35 UTC 2005


On Tue, 18 Jan 2005, Karel Gardas wrote:

> On Tue, 18 Jan 2005 gregory.menke at gsfc.nasa.gov wrote:
>
> >  > By your `I think the next thing to do in this case is to instrument the
> >  > function with printk's and see how the nested loops work.' -- do you mean
> >  > BusCountPCI function?
> >  >
> >
> > Yes- but your results above suggest 1 is the return value anyhow- so
> > no need for further work that way.
> >
> > As a test, try hardcoding the BusCountPCI() to return 2, that way the
> > device scan routine will at least try other busses.
>
> Unfortunatelly it is not found on second bus too... Should I go ahead and
> test 3th bus?

3th bus also does not help, but I've at least tried FreeBSD bootloader to
give some information about machine and it provides `pnpscan -v'
functionality which prints:

ok pnpscan -v
Probing PnP BIOS...
Probing ISA bus...
Probing PCI BIOS...
PNP scan summary:
PNP0000
PNP0200
PNP0100
PNP0b00
PNP0303
PNP0800
PNP0c04
PNP0c01
PNP0c02
PNP0a03
PNP0501
PNP0700
PNP0400
PNP0501
0x05711106 : IDE controller
0x920010b7 : Ethernet controller
0x88115333 : VGA display
ok

if it helps...

also what seems to be interesting is the beginning of FreeBSD dmesg
output:

....
K6-family MTRR support enabled (2 registers)
md0: Malloc disk
Using $PIR table, 5 entries at 0xc00fdcd0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x1106, dev=0x3040) at 7.3
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe800-0xe87f mem 0xd9000000-0xd900007f irq 11 at device 8.0 on pci0
xl0: Ethernet address: 00:04:75:74:75:6c
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <S3 Trio graphics accelerator> at 9.0 irq 15
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
....


This "unknown card" on pci0/7.3 is VIA's power management controller. As I
understand this, FreeBSD detects NIC on pci0/device 8.0 which hopefully
might be translated to 0/8/0 of RTEMS debug listing (or 0/0/8?)?  If so,
then we have probably different issue in card detection than bus traversal
IMHO.


Thanks,
Karel
--
Karel Gardas                  kgardas at objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com





More information about the users mailing list