From 4aebc1be665e2b9f2db3d8679ef67b46e4256743 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Sat, 30 Aug 2008 05:01:43 +0000 Subject: [PATCH] Fix a really stupid error on my part :-) Signed-off-by: Ronald G. Minnich Acked-by: Ronald G. Minnich git-svn-id: svn://coreboot.org/repository/coreboot-v3@850 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/pci_ops_conf1.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/pci_ops_conf1.c b/arch/x86/pci_ops_conf1.c index 6d54ad8750..d8ec475189 100644 --- a/arch/x86/pci_ops_conf1.c +++ b/arch/x86/pci_ops_conf1.c @@ -118,10 +118,11 @@ int pci_conf1_find_on_bus(u16 bus, u16 vid, u16 did, u32 *busdevfn) u32 val; u8 hdr; int bdf = bus << 16; - + printk(BIOS_SPEW, "pci_conf1_find_on_bus: bus %d, find 0x%04x:%04x\n", + bus, vid, did); /* skip over all the functions in a device -- * multifunction devices always have one vendor */ - for (devfn = 0; devfn < 0x100; devfn += 8) { + for (devfn = 0; devfn < 0x100; devfn += 1) { u32 confaddr = bdf | (devfn << 8); val = pci_conf1_read_config32(confaddr, PCI_VENDOR_ID);