aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig
blob: 22df4fe32fce0f3d504dd17e0254b179c6ac6b19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
config NET_RALINK
	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 || SOC_MT7621)

endchoice

config NET_RALINK_MDIO
	def_bool NET_RALINK
	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 (NET_RALINK_RT288X || NET_RALINK_RT3883)
	select NET_RALINK_MDIO

config NET_RALINK_ESW_RT3052
	def_bool NET_RALINK
	depends on NET_RALINK_RT305X
	select PHYLIB
	select SWCONFIG

config NET_RALINK_GSW_MT7620
	def_bool NET_RALINK
	depends on NET_RALINK_MT7620 || NET_RALINK_MT7621
	select NET_RALINK_MDIO
	select PHYLIB
	select SWCONFIG
endif