diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-01-23 14:18:34 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-01-25 11:18:45 +0000 |
commit | d2abe9314e418f55df7ed7318bcf31131d0143ae (patch) | |
tree | 195a40d994af82d2092d989fe65bb02e14efded7 /src/mainboard/kontron | |
parent | b32347415de85199cb0178a2c8c89deae20a1866 (diff) |
mb/{kontron,supermicro}: Use pcidev_on_root()
Change-Id: I61b3e5c92830f02d61a108dadde25ff261099e57
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/31051
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
Diffstat (limited to 'src/mainboard/kontron')
-rw-r--r-- | src/mainboard/kontron/986lcd-m/mainboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/kontron/986lcd-m/mainboard.c b/src/mainboard/kontron/986lcd-m/mainboard.c index d0d6c6bdbe..73d59974b9 100644 --- a/src/mainboard/kontron/986lcd-m/mainboard.c +++ b/src/mainboard/kontron/986lcd-m/mainboard.c @@ -173,7 +173,7 @@ static void mainboard_init(void *chip_info) if (!ethernet_disable) continue; printk(BIOS_DEBUG, "Disabling Ethernet NIC #%d\n", i); - dev = dev_find_slot(0, PCI_DEVFN(28, i - 1)); + dev = pcidev_on_root(28, i - 1); if (dev == NULL) { printk(BIOS_ERR, "Disabling Ethernet NIC: Cannot find 00:1c.%d!\n", |