patch-2.3.17 linux/drivers/pci/pci.c

Next file: linux/drivers/pci/quirks.c
Previous file: linux/drivers/pci/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.16/linux/drivers/pci/pci.c linux/drivers/pci/pci.c
@@ -295,7 +295,7 @@
 	pci_write_config_word(dev, PCI_COMMAND, cmd);
 }
 
-static void __init pci_read_bridge_bases(struct pci_dev *dev, struct pci_bus *child)
+void __init pci_read_bridge_bases(struct pci_dev *dev, struct pci_bus *child)
 {
 	u8 io_base_lo, io_limit_lo;
 	u16 mem_base_lo, mem_limit_lo, io_base_hi, io_limit_hi;
@@ -513,7 +513,6 @@
 			child->primary = bus->secondary;
 			child->subordinate = 0xff;
 			sprintf(child->name, "PCI Bus #%02x", child->number);
-			pci_read_bridge_bases(dev, child);
 			/*
 			 * Clear all status bits and turn off memory,
 			 * I/O and master enables.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)