On 12/09/2007, Baolu Lu <[EMAIL PROTECTED]> wrote: > > Sorry for the unclear description. > > I am programming on the x86 platform. I want to walk and locate the > PCI devices tree. The code is supposed to located in the root nexus > driver code. >
Ok. So you're not looking to interface to the existing device tree that has been set up to represent the PCI devices in the system? If so you're doing something quite different to the way the OS behaves and you'll need to issue config. cycles from the south bridge. You'll need to find the driver for your south bridge and hack it to issue the relevant config. cycles to enumerate all the PCI devices below it. Paul -- Paul Durrant http://www.linkedin.com/in/pdurrant _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss