OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [mips/] [lasat/] [pci.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#include <linux/config.h>
2
#include <linux/kernel.h>
3
#include <linux/init.h>
4
#include <linux/pci.h>
5
#include <asm/bootinfo.h>
6
 
7
extern struct pci_ops nile4_pci_ops;
8
extern struct pci_ops gt64120_pci_ops;
9
 
10
void __init pcibios_init(void)
11
{
12
        struct pci_ops *pci_ops;
13
 
14
        switch (mips_machtype) {
15
        case MACH_LASAT_100:
16
                pci_ops = &gt64120_pci_ops;
17
                break;
18
        case MACH_LASAT_200:
19
                pci_ops = &nile4_pci_ops;
20
                break;
21
        default:
22
                panic("pcibios_init: mips_machtype incorrect");
23
        }
24
 
25
        pci_scan_bus(0, pci_ops, NULL);
26
}
27
 
28
void __init pcibios_fixup_bus(struct pci_bus *b)
29
{
30
}
31
 
32
unsigned __init int pcibios_assign_all_busses(void)
33
{
34
        return 1;
35
}
36
 
37
struct pci_fixup pcibios_fixups[] = {
38
        { 0 }
39
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.