From 716ca530e1c4515d8683c9d5be3d56b301758b66 Mon Sep 17 00:00:00 2001 From: James <> Date: Wed, 4 Nov 2015 11:49:21 +0000 Subject: trunk-47381 --- .../linux/oxnas/patches-4.1/700-oxnas-dwmac.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 target/linux/oxnas/patches-4.1/700-oxnas-dwmac.patch (limited to 'target/linux/oxnas/patches-4.1/700-oxnas-dwmac.patch') diff --git a/target/linux/oxnas/patches-4.1/700-oxnas-dwmac.patch b/target/linux/oxnas/patches-4.1/700-oxnas-dwmac.patch new file mode 100644 index 0000000..dde3140 --- /dev/null +++ b/target/linux/oxnas/patches-4.1/700-oxnas-dwmac.patch @@ -0,0 +1,25 @@ +--- a/drivers/net/ethernet/stmicro/stmmac/Kconfig ++++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig +@@ -20,7 +20,7 @@ config STMMAC_PLATFORM + ---help--- + This selects the platform specific bus support for the stmmac driver. + This is the driver used on several SoCs: +- STi, Allwinner, Amlogic Meson, Altera SOCFPGA. ++ STi, Allwinner, Amlogic Meson, Altera SOCFPGA and Oxnas. + + If you have a controller with this interface, say Y or M here. + +--- a/drivers/net/ethernet/stmicro/stmmac/Makefile ++++ b/drivers/net/ethernet/stmicro/stmmac/Makefile +@@ -5,8 +5,9 @@ stmmac-objs:= stmmac_main.o stmmac_ethto + mmc_core.o stmmac_hwtstamp.o stmmac_ptp.o $(stmmac-y) + + obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-platform.o +-stmmac-platform-objs:= stmmac_platform.o dwmac-meson.o dwmac-sunxi.o \ +- dwmac-sti.o dwmac-socfpga.o dwmac-rk.o ++stmmac-platform-objs:= stmmac_platform.o dwmac-meson.o dwmac-oxnas.o \ ++ dwmac-sunxi.o dwmac-sti.o dwmac-socfpga.o \ ++ dwmac-rk.o + + obj-$(CONFIG_STMMAC_PCI) += stmmac-pci.o + stmmac-pci-objs:= stmmac_pci.o -- cgit v1.2.3