|
|
| File: [Development] / linux-2.4-xfs / arch / mips / lasat / pci.c (download)
Revision 1.1, Wed Dec 31 00:54:49 2003 UTC (13 years, 9 months ago) by cattelan
Initial Import 2.4.24pre2 |
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <asm/bootinfo.h>
extern struct pci_ops nile4_pci_ops;
extern struct pci_ops gt64120_pci_ops;
void __init pcibios_init(void)
{
struct pci_ops *pci_ops;
switch (mips_machtype) {
case MACH_LASAT_100:
pci_ops = >64120_pci_ops;
break;
case MACH_LASAT_200:
pci_ops = &nile4_pci_ops;
break;
default:
panic("pcibios_init: mips_machtype incorrect");
}
pci_scan_bus(0, pci_ops, NULL);
}
void __init pcibios_fixup_bus(struct pci_bus *b)
{
}
unsigned __init int pcibios_assign_all_busses(void)
{
return 1;
}
struct pci_fixup pcibios_fixups[] = {
{ 0 }
};