[LinuxBIOS] PCI max buses - Simple solution
Stefan Reinauer
stepan at coresystems.de
Sat Apr 22 12:29:56 CEST 2006
* yhlu <yinghailu at gmail.com> [060422 06:37]:
> we already have
> pci_locate_device().
> pci_locate_device_on_bus(...unsigned bus).
Cool! I guess most of us just did not know about that.
static device_t pci_locate_device_on_bus(unsigned pci_id, unsigned bus)
is defined in romcc_io.h and does exactly what is needed in this case.
Firewire on the Epia is always on bus 0.
Stefan
--
coresystems GmbH · Brahmsstr. 16 · D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 · Fax: +49 761 7664613
Email: info at coresystems.de · http://www.coresystems.de/
More information about the coreboot
mailing list