xref: /openbmc/linux/arch/mips/pci/pci-bcm63xx.h (revision e7300d04)
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 
16e7300d04SMaxime Bizon /*
17e7300d04SMaxime Bizon  * defined in ops-bcm63xx.c
18e7300d04SMaxime Bizon  */
19e7300d04SMaxime Bizon extern struct pci_ops bcm63xx_pci_ops;
20e7300d04SMaxime Bizon extern struct pci_ops bcm63xx_cb_ops;
21e7300d04SMaxime Bizon 
22e7300d04SMaxime Bizon /*
23e7300d04SMaxime Bizon  * defined in pci-bcm63xx.c
24e7300d04SMaxime Bizon  */
25e7300d04SMaxime Bizon extern void __iomem *pci_iospace_start;
26e7300d04SMaxime Bizon 
27e7300d04SMaxime Bizon #endif /* ! PCI_BCM63XX_H_ */
28