Maxime Bizon | e7300d0 | 2009-08-18 13:23:37 +0100 | [diff] [blame] | 1 | #ifndef PCI_BCM63XX_H_ |
| 2 | #define PCI_BCM63XX_H_ |
| 3 | |
| 4 | #include <bcm63xx_cpu.h> |
| 5 | #include <bcm63xx_io.h> |
| 6 | #include <bcm63xx_regs.h> |
| 7 | #include <bcm63xx_dev_pci.h> |
| 8 | |
| 9 | /* |
Ralf Baechle | 7034228 | 2013-01-22 12:59:30 +0100 | [diff] [blame] | 10 | * Cardbus shares the PCI bus, but has no IDSEL, so a special id is |
Maxime Bizon | e7300d0 | 2009-08-18 13:23:37 +0100 | [diff] [blame] | 11 | * reserved for it. If you have a standard PCI device at this id, you |
| 12 | * need to change the following definition. |
| 13 | */ |
| 14 | #define CARDBUS_PCI_IDSEL 0x8 |
| 15 | |
Jonas Gorski | 19c860d | 2012-07-24 16:33:13 +0200 | [diff] [blame] | 16 | |
| 17 | #define PCIE_BUS_BRIDGE 0 |
| 18 | #define PCIE_BUS_DEVICE 1 |
| 19 | |
Maxime Bizon | e7300d0 | 2009-08-18 13:23:37 +0100 | [diff] [blame] | 20 | /* |
| 21 | * defined in ops-bcm63xx.c |
| 22 | */ |
| 23 | extern struct pci_ops bcm63xx_pci_ops; |
| 24 | extern struct pci_ops bcm63xx_cb_ops; |
Jonas Gorski | 19c860d | 2012-07-24 16:33:13 +0200 | [diff] [blame] | 25 | extern struct pci_ops bcm63xx_pcie_ops; |
Maxime Bizon | e7300d0 | 2009-08-18 13:23:37 +0100 | [diff] [blame] | 26 | |
| 27 | /* |
| 28 | * defined in pci-bcm63xx.c |
| 29 | */ |
| 30 | extern void __iomem *pci_iospace_start; |
| 31 | |
| 32 | #endif /* ! PCI_BCM63XX_H_ */ |