[coreboot] How to translate a PCI_DEV macro to struct device (device_t)?

Patrick Georgi patrick at georgi-clan.de
Thu Sep 4 22:05:36 CEST 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20140904/22addae9/attachment.asc>


More information about the coreboot mailing list