1/* SPDX-License-Identifier: GPL-2.0 */
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/*
11 * Cardbus shares  the PCI bus, but has	 no IDSEL, so a	 special id is
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
17
18#define PCIE_BUS_BRIDGE		0
19#define PCIE_BUS_DEVICE		1
20
21/*
22 * defined in ops-bcm63xx.c
23 */
24extern struct pci_ops bcm63xx_pci_ops;
25extern struct pci_ops bcm63xx_cb_ops;
26extern struct pci_ops bcm63xx_pcie_ops;
27
28/*
29 * defined in pci-bcm63xx.c
30 */
31extern void __iomem *pci_iospace_start;
32
33#endif /* ! PCI_BCM63XX_H_ */
34