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 16:22:12 -0500 |
commit | 009fb0978ca4b5362cf875869c42893cc43b71a1 (patch) | |
tree | 9be4c685583b61ca66db2cca26a50979a9e3823e /drivers/net/ethernet/mediatek/Kconfig | |
parent | 656e705243fd0c2864b89634ea16ed444ef64dc6 (diff) | |
download | linux-009fb0978ca4b5362cf875869c42893cc43b71a1.tar.bz2 |
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/Kconfig')
-rw-r--r-- | drivers/net/ethernet/mediatek/Kconfig | 17 |
1 files changed, 17 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 |