xref: /openbmc/linux/arch/mips/pci/pci-bcm63xx.h (revision 19c860d9)
1e7300d04SMaxime Bizon #ifndef PCI_BCM63XX_H_
2e7300d04SMaxime Bizon #define PCI_BCM63XX_H_
3e7300d04SMaxime Bizon 
4e7300d04SMaxime Bizon #include <bcm63xx_cpu.h>
5e7300d04SMaxime Bizon #include <bcm63xx_io.h>
6e7300d04SMaxime Bizon #include <bcm63xx_regs.h>
7e7300d04SMaxime Bizon #include <bcm63xx_dev_pci.h>
8e7300d04SMaxime Bizon 
9e7300d04SMaxime Bizon /*
10e7300d04SMaxime Bizon  * Cardbus shares  the PCI bus, but has  no IDSEL, so a  special id is
11e7300d04SMaxime Bizon  * reserved for it.  If you have a standard PCI device at this id, you
12e7300d04SMaxime Bizon  * need to change the following definition.
13e7300d04SMaxime Bizon  */
14e7300d04SMaxime Bizon #define CARDBUS_PCI_IDSEL	0x8
15e7300d04SMaxime Bizon 
1619c860d9SJonas Gorski 
1719c860d9SJonas Gorski #define PCIE_BUS_BRIDGE		0
1819c860d9SJonas Gorski #define PCIE_BUS_DEVICE		1
1919c860d9SJonas Gorski 
20e7300d04SMaxime Bizon /*
21e7300d04SMaxime Bizon  * defined in ops-bcm63xx.c
22e7300d04SMaxime Bizon  */
23e7300d04SMaxime Bizon extern struct pci_ops bcm63xx_pci_ops;
24e7300d04SMaxime Bizon extern struct pci_ops bcm63xx_cb_ops;
2519c860d9SJonas Gorski extern struct pci_ops bcm63xx_pcie_ops;
26e7300d04SMaxime Bizon 
27e7300d04SMaxime Bizon /*
28e7300d04SMaxime Bizon  * defined in pci-bcm63xx.c
29e7300d04SMaxime Bizon  */
30e7300d04SMaxime Bizon extern void __iomem *pci_iospace_start;
31e7300d04SMaxime Bizon 
32e7300d04SMaxime Bizon #endif /* ! PCI_BCM63XX_H_ */
33