pci-bcm63xx.h 730 B

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