Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 009fb097 authored by John Crispin's avatar John Crispin Committed by David S. Miller
Browse files

net-next: mediatek: add Kconfig and Makefile



This patch adds the Makefile and Kconfig required to make the driver build.

Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 656e7052
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -106,6 +106,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/mellanox/Kconfig"
source "drivers/net/ethernet/micrel/Kconfig"
source "drivers/net/ethernet/microchip/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,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_MELLANOX) += mellanox/
obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/
obj-$(CONFIG_NET_VENDOR_MICROCHIP) += microchip/
+17 −0
Original line number Diff line number Diff line
config NET_VENDOR_MEDIATEK
	bool "MediaTek ethernet driver"
	depends on ARCH_MEDIATEK
	---help---
	  If you have a Mediatek SoC with ethernet, say Y.

if NET_VENDOR_MEDIATEK

config NET_MEDIATEK_SOC
	tristate "MediaTek MT7623 Gigabit ethernet support"
	depends on NET_VENDOR_MEDIATEK && (MACH_MT7623 || MACH_MT2701)
	select PHYLIB
	---help---
	  This driver supports the gigabit ethernet MACs in the
	  MediaTek MT2701/MT7623 chipset family.

endif #NET_VENDOR_MEDIATEK
+5 −0
Original line number Diff line number Diff line
#
# Makefile for the Mediatek SoCs built-in ethernet macs
#

obj-$(CONFIG_NET_MEDIATEK_SOC)			+= mtk_eth_soc.o