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

gregory.menke at gsfc.nasa.gov gregory.menke at gsfc.nasa.gov
Tue Jan 18 22:11:58 UTC 2005



Karel Gardas writes:
 > 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?
 > 

It wouldn't hurt.  You might also consult your bios settings, ensure
ACPI and "PnP OS" are both disabled.  Some bios's don't have a "PnP"
related option, instead giving a list of installed operating systems-
in that case, choose something like "Other" or "DOS".  This will force
the pc bios to assign irq's and hopefully address ranges too, which
<should> result in a fully configured pci bus tree- which is the first
necessary step.

If neither helps, then I think we'll have to modify things to
inventory each bus you can talk to, looking for bridges and then
looking behind them.  We might run across something disabled which is
limiting access to some downstream busses.  I guess we'll essentially
be debugging the hack-ed in functions.

Gregm







More information about the users mailing list