patch-2.1.110 linux/arch/alpha/kernel/mcpcia.c
Next file: linux/arch/alpha/kernel/osf_sys.c
Previous file: linux/arch/alpha/kernel/lca.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Sun Jul 19 20:44:33 1998
- Orig file:
v2.1.109/linux/arch/alpha/kernel/mcpcia.c
- Orig date:
Wed Jun 24 22:54:02 1998
diff -u --recursive --new-file v2.1.109/linux/arch/alpha/kernel/mcpcia.c linux/arch/alpha/kernel/mcpcia.c
@@ -9,13 +9,13 @@
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/sched.h>
+#include <linux/delay.h>
#include <asm/system.h>
#include <asm/io.h>
#include <asm/hwrpb.h>
#include <asm/ptrace.h>
#include <asm/mmu_context.h>
-#include <asm/delay.h>
/*
* NOTE: Herein lie back-to-back mb instructions. They are magic.
@@ -921,8 +921,7 @@
} while (nbus-- > 0);
}
-static void mcpcia_probe(struct linux_hose_info *hose,
- unsigned long *mem_start)
+static void mcpcia_probe(struct linux_hose_info *hose)
{
static struct pci_bus *pchain = NULL;
struct pci_bus *pbus = &hose->pci_bus;
@@ -939,7 +938,7 @@
mcpcia_fixup_busno(hose, busno);
- pbus->subordinate = pci_scan_bus(pbus, mem_start); /* the original! */
+ pbus->subordinate = pci_scan_bus(pbus); /* the original! */
/*
* Set the maximum subordinate bus of this hose.
@@ -970,8 +969,7 @@
pci_probe_enabled = 1;
/* for each hose, probe and setup the devices on the hose */
- for (hose = mcpcia_root; hose; hose = hose->next) {
- mcpcia_probe(hose, &memory_start);
- }
+ for (hose = mcpcia_root; hose; hose = hose->next)
+ mcpcia_probe(hose);
}
#endif /* CONFIG_ALPHA_MCPCIA */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov