Commit e8e863ec authored by Norbert Kiesel's avatar Norbert Kiesel Committed by Greg Kroah-Hartman

[PATCH] PCI: fixup for compile error in pci/legacy.c

the last patch forgot to fix the debug code.
parent a51d493e
...@@ -24,7 +24,7 @@ static void __devinit pcibios_fixup_peer_bridges(void) ...@@ -24,7 +24,7 @@ static void __devinit pcibios_fixup_peer_bridges(void)
for (devfn = 0; devfn < 256; devfn += 8) { for (devfn = 0; devfn < 256; devfn += 8) {
if (!raw_pci_ops->read(0, n, devfn, PCI_VENDOR_ID, 2, &l) && if (!raw_pci_ops->read(0, n, devfn, PCI_VENDOR_ID, 2, &l) &&
l != 0x0000 && l != 0xffff) { l != 0x0000 && l != 0xffff) {
DBG("Found device at %02x:%02x [%04x]\n", n, dev->devfn, l); DBG("Found device at %02x:%02x [%04x]\n", n, devfn, l);
printk(KERN_INFO "PCI: Discovered peer bus %02x\n", n); printk(KERN_INFO "PCI: Discovered peer bus %02x\n", n);
pci_scan_bus(n, &pci_root_ops, NULL); pci_scan_bus(n, &pci_root_ops, NULL);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment