summaryrefslogtreecommitdiff
path: root/target/linux/oxnas/patches-4.4/340-oxnas-pcie.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-18 23:34:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-18 23:34:59 +0000
commit89d37aaa5c757ef70c75fd3aa2bc5b720c8ae77f (patch)
tree848a9021c421e17836fcedad1b9154e9e7729556 /target/linux/oxnas/patches-4.4/340-oxnas-pcie.patch
parentcee6c07cf32302ad71cc8c540f997b552a3ba4aa (diff)
downloadmtk-20170518-89d37aaa5c757ef70c75fd3aa2bc5b720c8ae77f.zip
mtk-20170518-89d37aaa5c757ef70c75fd3aa2bc5b720c8ae77f.tar.gz
mtk-20170518-89d37aaa5c757ef70c75fd3aa2bc5b720c8ae77f.tar.bz2
oxnas: add patches and config for Linux 4.4
Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48339
Diffstat (limited to 'target/linux/oxnas/patches-4.4/340-oxnas-pcie.patch')
-rw-r--r--target/linux/oxnas/patches-4.4/340-oxnas-pcie.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/oxnas/patches-4.4/340-oxnas-pcie.patch b/target/linux/oxnas/patches-4.4/340-oxnas-pcie.patch
new file mode 100644
index 0000000..374f9b9
--- /dev/null
+++ b/target/linux/oxnas/patches-4.4/340-oxnas-pcie.patch
@@ -0,0 +1,22 @@
+--- a/drivers/pci/host/Kconfig
++++ b/drivers/pci/host/Kconfig
+@@ -172,4 +172,9 @@ config PCI_HISI
+ help
+ Say Y here if you want PCIe controller support on HiSilicon HIP05 SoC
+
++config PCI_OXNAS
++ bool "PLX Oxnas PCIe controller"
++ depends on ARCH_OXNAS
++ select PCIEPORTBUS
++
+ endmenu
+--- a/drivers/pci/host/Makefile
++++ b/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