blob: 214def1e45a56b8ff99abbf0ae5e83e19acfda84 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Maxime Bizone7300d02009-08-18 13:23:37 +01002#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/*
Ralf Baechle70342282013-01-22 12:59:30 +010011 * Cardbus shares the PCI bus, but has no IDSEL, so a special id is
Maxime Bizone7300d02009-08-18 13:23:37 +010012 * 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
Jonas Gorski19c860d2012-07-24 16:33:13 +020017
18#define PCIE_BUS_BRIDGE 0
19#define PCIE_BUS_DEVICE 1
20
Maxime Bizone7300d02009-08-18 13:23:37 +010021/*
22 * defined in ops-bcm63xx.c
23 */
24extern struct pci_ops bcm63xx_pci_ops;
25extern struct pci_ops bcm63xx_cb_ops;
Jonas Gorski19c860d2012-07-24 16:33:13 +020026extern struct pci_ops bcm63xx_pcie_ops;
Maxime Bizone7300d02009-08-18 13:23:37 +010027
28/*
29 * defined in pci-bcm63xx.c
30 */
31extern void __iomem *pci_iospace_start;
32
33#endif /* ! PCI_BCM63XX_H_ */