mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
7f04d67517
These PCI drivers are a bit hacky and definitely not suitable for upstreaming, but hopefully we can use them as a base for developing proper upstream PCI drivers. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
23 lines
666 B
Diff
23 lines
666 B
Diff
--- a/drivers/pci/controller/Kconfig
|
|
+++ b/drivers/pci/controller/Kconfig
|
|
@@ -3,6 +3,11 @@
|
|
menu "PCI controller drivers"
|
|
depends on PCI
|
|
|
|
+config PCIE_BCM6328
|
|
+ bool "BCM6328 PCIe controller"
|
|
+ depends on BMIPS_GENERIC || COMPILE_TEST
|
|
+ depends on OF
|
|
+
|
|
config PCI_MVEBU
|
|
bool "Marvell EBU PCIe controller"
|
|
depends on ARCH_MVEBU || ARCH_DOVE || COMPILE_TEST
|
|
--- a/drivers/pci/controller/Makefile
|
|
+++ b/drivers/pci/controller/Makefile
|
|
@@ -1,4 +1,5 @@
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
+obj-$(CONFIG_PCIE_BCM6328) += pcie-bcm6328.o
|
|
obj-$(CONFIG_PCIE_CADENCE) += cadence/
|
|
obj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o
|
|
obj-$(CONFIG_PCI_HYPERV) += pci-hyperv.o
|