1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2e7300d04SMaxime Bizon #ifndef PCI_BCM63XX_H_ 3e7300d04SMaxime Bizon #define PCI_BCM63XX_H_ 4e7300d04SMaxime Bizon 5e7300d04SMaxime Bizon #include <bcm63xx_cpu.h> 6e7300d04SMaxime Bizon #include <bcm63xx_io.h> 7e7300d04SMaxime Bizon #include <bcm63xx_regs.h> 8e7300d04SMaxime Bizon #include <bcm63xx_dev_pci.h> 9e7300d04SMaxime Bizon 10e7300d04SMaxime Bizon /* 11e7300d04SMaxime Bizon * Cardbus shares the PCI bus, but has no IDSEL, so a special id is 12e7300d04SMaxime Bizon * reserved for it. If you have a standard PCI device at this id, you 13e7300d04SMaxime Bizon * need to change the following definition. 14e7300d04SMaxime Bizon */ 15e7300d04SMaxime Bizon #define CARDBUS_PCI_IDSEL 0x8 16e7300d04SMaxime Bizon 1719c860d9SJonas Gorski 1819c860d9SJonas Gorski #define PCIE_BUS_BRIDGE 0 1919c860d9SJonas Gorski #define PCIE_BUS_DEVICE 1 2019c860d9SJonas Gorski 21e7300d04SMaxime Bizon /* 22e7300d04SMaxime Bizon * defined in ops-bcm63xx.c 23e7300d04SMaxime Bizon */ 24e7300d04SMaxime Bizon extern struct pci_ops bcm63xx_pci_ops; 25e7300d04SMaxime Bizon extern struct pci_ops bcm63xx_cb_ops; 2619c860d9SJonas Gorski extern struct pci_ops bcm63xx_pcie_ops; 27e7300d04SMaxime Bizon 28e7300d04SMaxime Bizon /* 29e7300d04SMaxime Bizon * defined in pci-bcm63xx.c 30e7300d04SMaxime Bizon */ 31e7300d04SMaxime Bizon extern void __iomem *pci_iospace_start; 32e7300d04SMaxime Bizon 33e7300d04SMaxime Bizon #endif /* ! PCI_BCM63XX_H_ */ 34