* yhlu yinghailu@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