mirror of https://github.com/hak5/openwrt.git
42 lines
1.7 KiB
Diff
42 lines
1.7 KiB
Diff
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
|
|
@@ -107,7 +107,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
|
|
@@ -47,7 +47,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/
|