aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-04-30 09:24:50 +0200
committerFelix Fietkau <nbd@nbd.name>2018-06-13 12:54:25 +0200
commitec502cd3fe926f0dbc5f6020ee22929b18ef16ee (patch)
tree998843034fb64a0216ea1b8abeca41a5d826f81e /target/linux
parentb560c1748a4edf0d02046e5a988cc0caf1f4f987 (diff)
downloadupstream-ec502cd3fe926f0dbc5f6020ee22929b18ef16ee.tar.gz
upstream-ec502cd3fe926f0dbc5f6020ee22929b18ef16ee.tar.bz2
upstream-ec502cd3fe926f0dbc5f6020ee22929b18ef16ee.zip
ramips: rename ethernet driver folder to the same one that upstream uses
Preparation for sharing offload code with the mediatek target through generic files/ Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/Kconfig (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/Kconfig)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/Makefile (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/Makefile)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/esw_rt3050.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/esw_rt3050.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/esw_rt3050.h (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/esw_rt3050.h)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/ethtool.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/ethtool.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/ethtool.h (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/ethtool.h)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/gsw_mt7620.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/gsw_mt7620.h)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7621.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/gsw_mt7621.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio.h (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio.h)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_mt7620.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio_mt7620.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio_rt2880.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.h (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio_rt2880.h)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mt7530.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.h (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mt7530.h)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_debugfs.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_debugfs.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_eth_soc.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.h (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_eth_soc.h)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_offload.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_offload.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_offload.h (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_offload.h)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_mt7620.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7620.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_mt7621.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7621.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt2880.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_rt2880.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt3050.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_rt3050.c)0
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt3883.c (renamed from target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_rt3883.c)0
-rw-r--r--target/linux/ramips/patches-4.14/0090-ethernet.patch41
27 files changed, 0 insertions, 41 deletions
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/Kconfig b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/Kconfig
index 822806fd85..822806fd85 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/Kconfig
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/Kconfig
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/Makefile b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/Makefile
index b038ae3699..b038ae3699 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/Makefile
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/Makefile
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/esw_rt3050.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/esw_rt3050.c
index 816c588dd7..816c588dd7 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/esw_rt3050.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/esw_rt3050.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/esw_rt3050.h b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/esw_rt3050.h
index b757e5d639..b757e5d639 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/esw_rt3050.h
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/esw_rt3050.h
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/ethtool.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/ethtool.c
index 5732c28536..5732c28536 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/ethtool.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/ethtool.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/ethtool.h b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/ethtool.h
index 6fd16f0b66..6fd16f0b66 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/ethtool.h
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/ethtool.h
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/gsw_mt7620.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.c
index a4602c4586..a4602c4586 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/gsw_mt7620.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/gsw_mt7620.h b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h
index ae0b6de024..ae0b6de024 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/gsw_mt7620.h
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/gsw_mt7621.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7621.c
index 89be239007..89be239007 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/gsw_mt7621.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7621.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio.c
index bdfdf7a432..bdfdf7a432 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio.h b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio.h
index 498cf144e6..498cf144e6 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio.h
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio.h
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio_mt7620.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_mt7620.c
index 9efe7896a5..9efe7896a5 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio_mt7620.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_mt7620.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio_rt2880.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.c
index e53fd7f628..e53fd7f628 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio_rt2880.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio_rt2880.h b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.h
index 70e344283e..70e344283e 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio_rt2880.h
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.h
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mt7530.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.c
index 5216cb5c66..5216cb5c66 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mt7530.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mt7530.h b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.h
index cf725c2f2b..cf725c2f2b 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mt7530.h
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.h
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_debugfs.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_debugfs.c
index 2938119e89..2938119e89 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_debugfs.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_debugfs.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_eth_soc.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index c806e289b5..c806e289b5 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_eth_soc.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_eth_soc.h b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.h
index dfaa5fd9ea..dfaa5fd9ea 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_eth_soc.h
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.h
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_offload.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_offload.c
index 3001c081f7..3001c081f7 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_offload.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_offload.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_offload.h b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_offload.h
index f714c90f92..f714c90f92 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_offload.h
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_offload.h
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7620.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_mt7620.c
index 7f728d142d..7f728d142d 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7620.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_mt7620.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7621.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_mt7621.c
index 00dd45e01f..00dd45e01f 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7621.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_mt7621.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_rt2880.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt2880.c
index 6c89c997d9..6c89c997d9 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_rt2880.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt2880.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_rt3050.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt3050.c
index 914b81410e..914b81410e 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_rt3050.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt3050.c
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_rt3883.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt3883.c
index 4935b7fbd4..4935b7fbd4 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_rt3883.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt3883.c
diff --git a/target/linux/ramips/patches-4.14/0090-ethernet.patch b/target/linux/ramips/patches-4.14/0090-ethernet.patch
deleted file mode 100644
index 20f69fcc01..0000000000
--- a/target/linux/ramips/patches-4.14/0090-ethernet.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From b6f779ea9c329451b89404583b45b9eb00155b32 Mon Sep 17 00:00:00 2001
-From: John Crispin <blogic@openwrt.org>
-Date: Wed, 18 Nov 2015 03:58:26 +0100
-Subject: [PATCH 510/513] net-next: mediatek: add Kconfig and Makefile
-
-This patch adds the Makefile and Kconfig required to make the driver build.
-
-Signed-off-by: John Crispin <blogic@openwrt.org>
-Signed-off-by: Felix Fietkau <nbd@nbd.name>
-Signed-off-by: Michael Lee <igvtee@gmail.com>
----
- drivers/net/ethernet/Kconfig | 1 +
- drivers/net/ethernet/Makefile | 1 +
- drivers/net/ethernet/mtk/Kconfig | 62 ++++++++++++++++++++++++++++++++
- drivers/net/ethernet/mtk/Makefile | 20 +++++++++++
- 4 files changed, 84 insertions(+)
- create mode 100644 drivers/net/ethernet/mtk/Kconfig
- create mode 100644 drivers/net/ethernet/mtk/Makefile
-
---- a/drivers/net/ethernet/Kconfig
-+++ b/drivers/net/ethernet/Kconfig
-@@ -110,7 +110,7 @@ config LANTIQ_ETOP
- Support for the MII0 inside the Lantiq SoC
-
- source "drivers/net/ethernet/marvell/Kconfig"
--source "drivers/net/ethernet/mediatek/Kconfig"
-+source "drivers/net/ethernet/mtk/Kconfig"
- source "drivers/net/ethernet/mellanox/Kconfig"
- source "drivers/net/ethernet/micrel/Kconfig"
- source "drivers/net/ethernet/microchip/Kconfig"
---- a/drivers/net/ethernet/Makefile
-+++ b/drivers/net/ethernet/Makefile
-@@ -51,7 +51,7 @@ obj-$(CONFIG_JME) += jme.o
- obj-$(CONFIG_KORINA) += korina.o
- obj-$(CONFIG_LANTIQ_ETOP) += lantiq_etop.o
- obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
--obj-$(CONFIG_NET_VENDOR_MEDIATEK) += mediatek/
-+obj-$(CONFIG_NET_VENDOR_MEDIATEK) += mtk/
- obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
- obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/
- obj-$(CONFIG_NET_VENDOR_MICROCHIP) += microchip/