diff options
author | John Crispin <blogic@openwrt.org> | 2016-03-08 11:29:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-10 22:22:12 +0100 |
commit | 009fb0978ca4b5362cf875869c42893cc43b71a1 (patch) | |
tree | 9be4c685583b61ca66db2cca26a50979a9e3823e /drivers/net/ethernet/mediatek | |
parent | net-next: mediatek: add support for MT7623 ethernet (diff) | |
download | linux-009fb0978ca4b5362cf875869c42893cc43b71a1.tar.xz linux-009fb0978ca4b5362cf875869c42893cc43b71a1.zip |
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mediatek')
-rw-r--r-- | drivers/net/ethernet/mediatek/Kconfig | 17 | ||||
-rw-r--r-- | drivers/net/ethernet/mediatek/Makefile | 5 |
2 files changed, 22 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mediatek/Kconfig b/drivers/net/ethernet/mediatek/Kconfig new file mode 100644 index 000000000000..698bb89aa901 --- /dev/null +++ b/drivers/net/ethernet/mediatek/Kconfig @@ -0,0 +1,17 @@ +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 diff --git a/drivers/net/ethernet/mediatek/Makefile b/drivers/net/ethernet/mediatek/Makefile new file mode 100644 index 000000000000..aa3f1c8ccd4a --- /dev/null +++ b/drivers/net/ethernet/mediatek/Makefile @@ -0,0 +1,5 @@ +# +# Makefile for the Mediatek SoCs built-in ethernet macs +# + +obj-$(CONFIG_NET_MEDIATEK_SOC) += mtk_eth_soc.o |