diff options
author | John Crispin <john@openwrt.org> | 2014-11-06 09:31:09 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-11-06 09:31:09 +0000 |
commit | 26504289dfdd8970ce117918c623108316a56189 (patch) | |
tree | 24bc044b40d58bf2c7c2a3b745aad693bee40d69 /target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig | |
parent | d524fe46fdf7eeb2f784bdb790eb211c8d221fc5 (diff) | |
download | upstream-26504289dfdd8970ce117918c623108316a56189.tar.gz upstream-26504289dfdd8970ce117918c623108316a56189.tar.bz2 upstream-26504289dfdd8970ce117918c623108316a56189.zip |
ralink: cleanup ethernet Makefile/Kconfig
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43195
Diffstat (limited to 'target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig')
-rw-r--r-- | target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig b/target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig index ca2c9ad627..b25a12a128 100644 --- a/target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig +++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig @@ -1,30 +1,54 @@ config NET_RALINK - tristate "Ralink RT288X/RT3X5X/RT3662/RT3883/MT7620 ethernet driver" + tristate "Ralink ethernet driver" depends on RALINK help This driver supports the ethernet mac inside the ralink wisocs if NET_RALINK +choice + prompt "MAC type" + +config NET_RALINK_RT288X + bool "RT288X" + depends on SOC_RT288X + +config NET_RALINK_RT305X + bool "RT305X" + depends on (SOC_RT305X || SOC_MT7620) + +config NET_RALINK_RT3883 + bool "RT3883" + depends on SOC_RT3883 + +config NET_RALINK_MT7620 + bool "MT7620" + depends on SOC_MT7620 + +config NET_RALINK_MT7621 + bool "MT7621" + depends on SOC_MT7621 + +endchoice config NET_RALINK_MDIO def_bool NET_RALINK - depends on (SOC_RT288X || SOC_RT3883 || SOC_MT7620) + depends on (NET_RALINK_RT288X || NET_RALINK_RT3883 || NET_RALINK_MT7620 || NET_RALINK_MT7621) select PHYLIB config NET_RALINK_MDIO_RT2880 def_bool NET_RALINK - depends on (SOC_RT288X || SOC_RT3883) + depends on (NET_RALINK_RT288X || NET_RALINK_RT3883) select NET_RALINK_MDIO config NET_RALINK_ESW_RT3052 def_bool NET_RALINK - depends on SOC_RT305X + depends on NET_RALINK_RT305X select PHYLIB select SWCONFIG config NET_RALINK_GSW_MT7620 def_bool NET_RALINK - depends on SOC_MT7620 + depends on NET_RALINK_MT7620 || NET_RALINK_MT7621 select NET_RALINK_MDIO select PHYLIB select SWCONFIG |