config NET_VENDOR_RALINK
	tristate "Ralink ethernet driver"
	depends on RALINK
	help
	  This driver supports the ethernet mac inside Ralink WiSoCs

if NET_VENDOR_RALINK

config NET_RALINK_RT2880
	bool "RT2882 Ethernet"
	depends on MIPS && SOC_RT288X

config NET_RALINK_RT3050
	bool "RT3050/MT7628 Gigabit Ethernet"
	depends on MIPS && (SOC_RT305X || SOC_MT7620)

config NET_RALINK_RT3883
	bool "RT3883 Ethernet"
	depends on MIPS && SOC_RT3883

config NET_RALINK_MT7620
	bool "MT7620 Gigabit Ethernet"
	depends on MIPS && SOC_MT7620

config NET_RALINK_HW_QOS
	bool "HW QoS"
	depends on NET_RALINK_MT7623

config NET_RALINK_MDIO
	bool "MDIO PHYLIB support"
	depends on (NET_RALINK_RT2880 || NET_RALINK_RT3883 || NET_RALINK_MT7620)
	select PHYLIB

config NET_RALINK_MDIO_RT2880
	bool "MDIO support fo RT2880/RT3883 SoCs"
	depends on (NET_RALINK_RT2880 || NET_RALINK_RT3883)
	select NET_RALINK_MDIO

config NET_RALINK_MDIO_MT7620
	bool "MDIO support for MT7620 SoC"
	depends on NET_RALINK_MT7620
	select NET_RALINK_MDIO

config NET_RALINK_ESW_RT3050
	tristate "RT3050 built-in Fast Ethernet switch"
	depends on NET_RALINK_RT3050

config NET_RALINK_GSW_MT7620
	tristate "MT7620 built-in Fast Ethernet switch"
	depends on NET_RALINK_MT7620
endif
