patch-2.3.35 linux/arch/i386/kernel/pci-i386.c
Next file: linux/arch/i386/kernel/setup.c
Previous file: linux/arch/i386/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Dec 21 12:07:32 1999
- Orig file:
v2.3.34/linux/arch/i386/kernel/pci-i386.c
- Orig date:
Tue Dec 7 09:32:40 1999
diff -u --recursive --new-file v2.3.34/linux/arch/i386/kernel/pci-i386.c linux/arch/i386/kernel/pci-i386.c
@@ -102,7 +102,7 @@
* Expects start=0, end=size-1, flags=resource type.
*/
-static int __init pcibios_assign_resource(struct pci_dev *dev, int i)
+int pci_assign_resource(struct pci_dev *dev, int i)
{
struct resource *r = &dev->resource[i];
struct resource *pr = pci_find_parent_resource(dev, r);
@@ -272,7 +272,7 @@
* the BIOS forgot to do so or because we have decided the old
* address was unusable for some reason.
*/
- pcibios_assign_resource(dev, idx);
+ pci_assign_resource(dev, idx);
}
}
if (pci_probe & PCI_ASSIGN_ROMS) {
@@ -280,7 +280,7 @@
r->end -= r->start;
r->start = 0;
if (r->end)
- pcibios_assign_resource(dev, PCI_ROM_RESOURCE);
+ pci_assign_resource(dev, PCI_ROM_RESOURCE);
}
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)