]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
e7300d04 MB |
2 | #ifndef PCI_BCM63XX_H_ |
3 | #define PCI_BCM63XX_H_ | |
4 | ||
5 | #include <bcm63xx_cpu.h> | |
6 | #include <bcm63xx_io.h> | |
7 | #include <bcm63xx_regs.h> | |
8 | #include <bcm63xx_dev_pci.h> | |
9 | ||
10 | /* | |
70342287 | 11 | * Cardbus shares the PCI bus, but has no IDSEL, so a special id is |
e7300d04 MB |
12 | * reserved for it. If you have a standard PCI device at this id, you |
13 | * need to change the following definition. | |
14 | */ | |
15 | #define CARDBUS_PCI_IDSEL 0x8 | |
16 | ||
19c860d9 JG |
17 | |
18 | #define PCIE_BUS_BRIDGE 0 | |
19 | #define PCIE_BUS_DEVICE 1 | |
20 | ||
e7300d04 MB |
21 | /* |
22 | * defined in ops-bcm63xx.c | |
23 | */ | |
24 | extern struct pci_ops bcm63xx_pci_ops; | |
25 | extern struct pci_ops bcm63xx_cb_ops; | |
19c860d9 | 26 | extern struct pci_ops bcm63xx_pcie_ops; |
e7300d04 MB |
27 | |
28 | /* | |
29 | * defined in pci-bcm63xx.c | |
30 | */ | |
31 | extern void __iomem *pci_iospace_start; | |
32 | ||
33 | #endif /* ! PCI_BCM63XX_H_ */ |