1 #ifndef __ASM_PCI_CHANNEL_H
2 #define __ASM_PCI_CHANNEL_H
5 * This file essentially defines the interface between board
6 * specific PCI code and MIPS common PCI code. Should potentially put
7 * into include/asm/pci.h file.
10 #include <linux/ioport.h>
11 #include <linux/pci.h>
14 * Each pci channel is a top-level PCI bus seem by CPU. A machine with
15 * multiple PCI channels may have multiple PCI host controllers or a
16 * single controller supporting multiple channels.
19 struct pci_ops
*pci_ops
;
20 struct resource
*io_resource
;
21 struct resource
*mem_resource
;
27 * each board defines an array of pci_channels, that ends with all NULL entry
29 extern struct pci_channel mips_pci_channels
[];
32 * board supplied pci irq fixup routine
34 extern void pcibios_fixup_irqs(void);
37 * board supplied pci fixup routines
39 extern void pcibios_fixup_resources(struct pci_dev
*dev
);
41 #endif /* __ASM_PCI_CHANNEL_H */