add new target 'oxnas'
[openwrt.git] / target / linux / oxnas / patches-3.18 / 340-oxnas-pcie.patch
1 Index: linux-3.18-rc4/drivers/pci/host/Kconfig
2 ===================================================================
3 --- linux-3.18-rc4.orig/drivers/pci/host/Kconfig
4 +++ linux-3.18-rc4/drivers/pci/host/Kconfig
5 @@ -91,4 +91,9 @@ config PCI_XGENE
6           There are 5 internal PCIe ports available. Each port is GEN3 capable
7           and have varied lanes from x1 to x8.
8  
9 +config PCI_OXNAS
10 +       bool "PLX Oxnas PCIe controller"
11 +       depends on ARCH_OXNAS
12 +       select PCIEPORTBUS
13 +
14  endmenu
15 Index: linux-3.18-rc4/drivers/pci/host/Makefile
16 ===================================================================
17 --- linux-3.18-rc4.orig/drivers/pci/host/Makefile
18 +++ linux-3.18-rc4/drivers/pci/host/Makefile
19 @@ -3,6 +3,7 @@ obj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
20  obj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
21  obj-$(CONFIG_PCI_IMX6) += pci-imx6.o
22  obj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o
23 +obj-$(CONFIG_PCI_OXNAS) += pcie-oxnas.o
24  obj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
25  obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
26  obj-$(CONFIG_PCI_RCAR_GEN2_PCIE) += pcie-rcar.o