Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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