patch-2.3.38 linux/drivers/pci/setup.c
Next file: linux/drivers/pcmcia/cardbus.c
Previous file: linux/drivers/pci/compat.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Thu Jan 6 16:17:19 2000
- Orig file:
v2.3.37/linux/drivers/pci/setup.c
- Orig date:
Thu Jan 6 12:57:47 2000
diff -u --recursive --new-file v2.3.37/linux/drivers/pci/setup.c linux/drivers/pci/setup.c
@@ -157,9 +157,8 @@
pbus_set_ranges(struct pci_bus *bus, struct pbus_set_ranges_data *outer)
{
struct pbus_set_ranges_data inner;
- struct pci_bus *child;
struct pci_dev *dev;
- struct list_node *ln;
+ struct list_head *ln;
inner.found_vga = 0;
inner.mem_start = inner.io_start = ~0UL;
@@ -275,10 +274,10 @@
void __init
pci_set_bus_ranges(void)
{
- struct list_node *ln;
+ struct list_head *ln;
for(ln=pci_root_buses.next; ln != &pci_root_buses; ln=ln->next)
- pci_set_ranges(pci_bus_b(ln), NULL);
+ pbus_set_ranges(pci_bus_b(ln), NULL);
}
static void __init
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)