aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/patches-4.4/700-oxnas-dwmac.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/700-oxnas-dwmac.patch
parentcee6c07cf32302ad71cc8c540f997b552a3ba4aa (diff)
downloadupstream-89d37aaa5c757ef70c75fd3aa2bc5b720c8ae77f.tar.gz
upstream-89d37aaa5c757ef70c75fd3aa2bc5b720c8ae77f.tar.bz2
upstream-89d37aaa5c757ef70c75fd3aa2bc5b720c8ae77f.zip
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/700-oxnas-dwmac.patch')
-rw-r--r--target/linux/oxnas/patches-4.4/700-oxnas-dwmac.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/oxnas/patches-4.4/700-oxnas-dwmac.patch b/target/linux/oxnas/patches-4.4/700-oxnas-dwmac.patch
new file mode 100644
index 0000000000..5de25d2e82
--- /dev/null
+++ b/target/linux/oxnas/patches-4.4/700-oxnas-dwmac.patch
@@ -0,0 +1,29 @@
+--- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
++++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
+@@ -69,6 +69,16 @@ config DWMAC_MESON
+ the stmmac device driver. This driver is used for Meson6 and
+ Meson8 SoCs.
+
++config DWMAC_OXNAS
++ tristate "Oxnas gmac support"
++ default ARCH_OXNAS
++ depends on OF && ARCH_OXNAS
++ help
++ Support for Ethernet controller on Oxnas SoCs.
++
++ This selects the Oxford OX82x SoC glue layer support for
++ the stmmac device driver.
++
+ config DWMAC_ROCKCHIP
+ tristate "Rockchip dwmac support"
+ default ARCH_ROCKCHIP
+--- a/drivers/net/ethernet/stmicro/stmmac/Makefile
++++ b/drivers/net/ethernet/stmicro/stmmac/Makefile
+@@ -9,6 +9,7 @@ obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-
+ obj-$(CONFIG_DWMAC_IPQ806X) += dwmac-ipq806x.o
+ obj-$(CONFIG_DWMAC_LPC18XX) += dwmac-lpc18xx.o
+ obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o
++obj-$(CONFIG_DWMAC_OXNAS) += dwmac-oxnas.o
+ obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o
+ obj-$(CONFIG_DWMAC_SOCFPGA) += dwmac-socfpga.o
+ obj-$(CONFIG_DWMAC_STI) += dwmac-sti.o