ramips: switch to linux 4.14
[openwrt/openwrt.git] / target / linux / ramips / patches-4.9 / 0090-ethernet.patch
1 From b6f779ea9c329451b89404583b45b9eb00155b32 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Wed, 18 Nov 2015 03:58:26 +0100
4 Subject: [PATCH 510/513] net-next: mediatek: add Kconfig and Makefile
5
6 This patch adds the Makefile and Kconfig required to make the driver build.
7
8 Signed-off-by: John Crispin <blogic@openwrt.org>
9 Signed-off-by: Felix Fietkau <nbd@nbd.name>
10 Signed-off-by: Michael Lee <igvtee@gmail.com>
11 ---
12 drivers/net/ethernet/Kconfig | 1 +
13 drivers/net/ethernet/Makefile | 1 +
14 drivers/net/ethernet/mtk/Kconfig | 62 ++++++++++++++++++++++++++++++++
15 drivers/net/ethernet/mtk/Makefile | 20 +++++++++++
16 4 files changed, 84 insertions(+)
17 create mode 100644 drivers/net/ethernet/mtk/Kconfig
18 create mode 100644 drivers/net/ethernet/mtk/Makefile
19
20 --- a/drivers/net/ethernet/Kconfig
21 +++ b/drivers/net/ethernet/Kconfig
22 @@ -107,7 +107,7 @@ config LANTIQ_ETOP
23 Support for the MII0 inside the Lantiq SoC
24
25 source "drivers/net/ethernet/marvell/Kconfig"
26 -source "drivers/net/ethernet/mediatek/Kconfig"
27 +source "drivers/net/ethernet/mtk/Kconfig"
28 source "drivers/net/ethernet/mellanox/Kconfig"
29 source "drivers/net/ethernet/micrel/Kconfig"
30 source "drivers/net/ethernet/microchip/Kconfig"
31 --- a/drivers/net/ethernet/Makefile
32 +++ b/drivers/net/ethernet/Makefile
33 @@ -47,7 +47,7 @@ obj-$(CONFIG_JME) += jme.o
34 obj-$(CONFIG_KORINA) += korina.o
35 obj-$(CONFIG_LANTIQ_ETOP) += lantiq_etop.o
36 obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
37 -obj-$(CONFIG_NET_VENDOR_MEDIATEK) += mediatek/
38 +obj-$(CONFIG_NET_VENDOR_MEDIATEK) += mtk/
39 obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
40 obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/
41 obj-$(CONFIG_NET_VENDOR_MICROCHIP) += microchip/