]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/pci/i386.c
PCI: fall back to original BIOS BAR addresses
[net-next-2.6.git] / arch / x86 / pci / i386.c
index 6fdb3ec30c3197e15fc54e18c91291f5eb403450..55253095be84c66d37c5dcaaba63bd4ebaee6df2 100644 (file)
@@ -184,6 +184,7 @@ static void __init pcibios_allocate_resources(int pass)
                                        idx, r, disabled, pass);
                                if (pci_claim_resource(dev, idx) < 0) {
                                        /* We'll assign a new address later */
+                                       dev->fw_addr[idx] = r->start;
                                        r->end -= r->start;
                                        r->start = 0;
                                }