Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
34 lines
730 B
C
34 lines
730 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef PCI_BCM63XX_H_
|
|
#define PCI_BCM63XX_H_
|
|
|
|
#include <bcm63xx_cpu.h>
|
|
#include <bcm63xx_io.h>
|
|
#include <bcm63xx_regs.h>
|
|
#include <bcm63xx_dev_pci.h>
|
|
|
|
/*
|
|
* Cardbus shares the PCI bus, but has no IDSEL, so a special id is
|
|
* reserved for it. If you have a standard PCI device at this id, you
|
|
* need to change the following definition.
|
|
*/
|
|
#define CARDBUS_PCI_IDSEL 0x8
|
|
|
|
|
|
#define PCIE_BUS_BRIDGE 0
|
|
#define PCIE_BUS_DEVICE 1
|
|
|
|
/*
|
|
* defined in ops-bcm63xx.c
|
|
*/
|
|
extern struct pci_ops bcm63xx_pci_ops;
|
|
extern struct pci_ops bcm63xx_cb_ops;
|
|
extern struct pci_ops bcm63xx_pcie_ops;
|
|
|
|
/*
|
|
* defined in pci-bcm63xx.c
|
|
*/
|
|
extern void __iomem *pci_iospace_start;
|
|
|
|
#endif /* ! PCI_BCM63XX_H_ */
|