Hi Ricardo,
Am 04.09.2014 um 21:57 schrieb Ricardo Menzer:
I'm trying to port an old Intel version of coreboot for tunnelcreek to a newer version of the coreboot code.
I think that's the first time I hear about such a thing. What's up with that? :-)
I looked at the source code and in the mailing list, but couldn't find a way to pass a correct dev parameter to the function.
src/include/device/device.h provides a couple of dev_find_* functions. For bdf->device_t, dev_find_slot(bus, devfn) should be helpful.
Regards, Patrick