* yhlu <[EMAIL PROTECTED]> [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: [EMAIL PROTECTED]  · http://www.coresystems.de/

-- 
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to