Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef PCI_BCM63XX_H_
0003 #define PCI_BCM63XX_H_
0004 
0005 #include <bcm63xx_cpu.h>
0006 #include <bcm63xx_io.h>
0007 #include <bcm63xx_regs.h>
0008 #include <bcm63xx_dev_pci.h>
0009 
0010 /*
0011  * Cardbus shares  the PCI bus, but has  no IDSEL, so a  special id is
0012  * reserved for it.  If you have a standard PCI device at this id, you
0013  * need to change the following definition.
0014  */
0015 #define CARDBUS_PCI_IDSEL   0x8
0016 
0017 
0018 #define PCIE_BUS_BRIDGE     0
0019 #define PCIE_BUS_DEVICE     1
0020 
0021 /*
0022  * defined in ops-bcm63xx.c
0023  */
0024 extern struct pci_ops bcm63xx_pci_ops;
0025 extern struct pci_ops bcm63xx_cb_ops;
0026 extern struct pci_ops bcm63xx_pcie_ops;
0027 
0028 /*
0029  * defined in pci-bcm63xx.c
0030  */
0031 extern void __iomem *pci_iospace_start;
0032 
0033 #endif /* ! PCI_BCM63XX_H_ */