openwrt/target/linux/oxnas/patches-3.18/340-oxnas-pcie.patch

27 lines
1.0 KiB
Diff

Index: linux-3.18-rc4/drivers/pci/host/Kconfig
===================================================================
--- linux-3.18-rc4.orig/drivers/pci/host/Kconfig
+++ linux-3.18-rc4/drivers/pci/host/Kconfig
@@ -91,4 +91,9 @@ config PCI_XGENE
There are 5 internal PCIe ports available. Each port is GEN3 capable
and have varied lanes from x1 to x8.
+config PCI_OXNAS
+ bool "PLX Oxnas PCIe controller"
+ depends on ARCH_OXNAS
+ select PCIEPORTBUS
+
endmenu
Index: linux-3.18-rc4/drivers/pci/host/Makefile
===================================================================
--- linux-3.18-rc4.orig/drivers/pci/host/Makefile
+++ linux-3.18-rc4/drivers/pci/host/Makefile
@@ -3,6 +3,7 @@ obj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
obj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
obj-$(CONFIG_PCI_IMX6) += pci-imx6.o
obj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o
+obj-$(CONFIG_PCI_OXNAS) += pcie-oxnas.o
obj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
obj-$(CONFIG_PCI_RCAR_GEN2_PCIE) += pcie-rcar.o