oxnas: add patches and config for Linux 4.4
[openwrt/openwrt.git] / target / linux / oxnas / patches-4.4 / 340-oxnas-pcie.patch
1 --- a/drivers/pci/host/Kconfig
2 +++ b/drivers/pci/host/Kconfig
3 @@ -172,4 +172,9 @@ config PCI_HISI
4 help
5 Say Y here if you want PCIe controller support on HiSilicon HIP05 SoC
6
7 +config PCI_OXNAS
8 + bool "PLX Oxnas PCIe controller"
9 + depends on ARCH_OXNAS
10 + select PCIEPORTBUS
11 +
12 endmenu
13 --- a/drivers/pci/host/Makefile
14 +++ b/drivers/pci/host/Makefile
15 @@ -3,6 +3,7 @@ obj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
16 obj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
17 obj-$(CONFIG_PCI_IMX6) += pci-imx6.o
18 obj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o
19 +obj-$(CONFIG_PCI_OXNAS) += pcie-oxnas.o
20 obj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
21 obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
22 obj-$(CONFIG_PCI_RCAR_GEN2_PCIE) += pcie-rcar.o