[OpenBIOS] PCI enumeration?

Chong Chee Yong catz at silvermoon.com.sg
Tue Feb 29 18:26:57 CET 2000


On Sat, 26 Feb 2000, Jeff Garzik wrote:

> (this is all defined in the PCI spec)  To scan the PCI bus, you
> basically iterate through each slot, reading the device and vendor ids. 
> If the slot is empty you get a nonexistent value (either 0 or 0xffff I
> think).  There can also be bridges on the PCI bus, so you must
> recursively descending into those, and scan their devices, as well.

Haven't read the PCI bridges specs, but it seems that it is possible
for two unconnected PCI bus since the algorithm suggested in revision 2.2
Chapter 6.1 is to scan all possible slots.

-
To unsubscribe: send mail to majordomo at freiburg.linux.de
with 'unsubscribe openbios' in the body of the message



More information about the openbios mailing list