summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-08-13 09:38:12 +0000
committerStefan Reinauer <stepan@openbios.org>2008-08-13 09:38:12 +0000
commitbc5379aefd56b270ffde15572ba0b30c16c24b38 (patch)
tree296e24b8386593b1f119ecc3c6a7b085ba45c45b
parent28dff395efb03e7db0863dd3e378cea8eee1ce94 (diff)
downloadcoreboot-bc5379aefd56b270ffde15572ba0b30c16c24b38.tar.xz
off by 1. (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3508 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-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);