summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/coreinfo/pci_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/coreinfo/pci_module.c b/payloads/coreinfo/pci_module.c
index c3400ae0a9..3407cbe86d 100644
--- a/payloads/coreinfo/pci_module.c
+++ b/payloads/coreinfo/pci_module.c
@@ -178,7 +178,7 @@ static void pci_scan_bus(int bus)
unsigned int val;
unsigned char hdr;
- for (slot = 0; slot < 0x1f; slot++) {
+ for (slot = 0; slot < 0x20; slot++) {
for (func = 0; func < 8; func++) {
pcidev_t dev = PCI_DEV(bus, slot, func);