Revert "device/pci_device.c: Do not complain about disabled devices"
This reverts commit ad247ac5d8
.
It doesn't work like this. The `dev->enable` field has already been
updated and is always `0` at this point.
Change-Id: I5b3560dcea2f226c841f4823526db2fdab149d22
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44078
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@@ -1297,10 +1297,6 @@ void pci_scan_bus(struct bus *bus, unsigned int min_devfn,
|
||||
/* Unlink it from list. */
|
||||
*prev = dev->sibling;
|
||||
|
||||
/* If disabled in devicetree, do not print any messages. */
|
||||
if (!dev->enabled)
|
||||
continue;
|
||||
|
||||
if (!once++)
|
||||
printk(BIOS_WARNING, "PCI: Leftover static devices:\n");
|
||||
printk(BIOS_WARNING, "%s\n", dev_path(dev));
|
||||
|
Reference in New Issue
Block a user