From bc5379aefd56b270ffde15572ba0b30c16c24b38 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 13 Aug 2008 09:38:12 +0000 Subject: off by 1. (trivial) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3508 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/coreinfo/pci_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3