ramips: remove legacy ethernet driver components for mt7621
[openwrt/staging/dedeckeh.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / Kconfig
1 config NET_VENDOR_RALINK
2 tristate "Ralink ethernet driver"
3 depends on RALINK
4 help
5 This driver supports the ethernet mac inside Ralink WiSoCs
6
7 config NET_RALINK_SOC
8 def_tristate NET_VENDOR_RALINK
9
10 if NET_RALINK_SOC
11 choice
12 prompt "MAC type"
13
14 config NET_RALINK_RT2880
15 bool "RT2882"
16 depends on MIPS && SOC_RT288X
17
18 config NET_RALINK_RT3050
19 bool "RT3050/MT7628"
20 depends on MIPS && (SOC_RT305X || SOC_MT7620)
21
22 config NET_RALINK_RT3883
23 bool "RT3883"
24 depends on MIPS && SOC_RT3883
25
26 config NET_RALINK_MT7620
27 bool "MT7620"
28 depends on MIPS && SOC_MT7620
29
30 endchoice
31
32 config NET_RALINK_HW_QOS
33 def_bool NET_RALINK_SOC
34 depends on NET_RALINK_MT7623
35
36 config NET_RALINK_MDIO
37 def_bool NET_RALINK_SOC
38 depends on (NET_RALINK_RT2880 || NET_RALINK_RT3883 || NET_RALINK_MT7620)
39 select PHYLIB
40
41 config NET_RALINK_MDIO_RT2880
42 def_bool NET_RALINK_SOC
43 depends on (NET_RALINK_RT2880 || NET_RALINK_RT3883)
44 select NET_RALINK_MDIO
45
46 config NET_RALINK_MDIO_MT7620
47 def_bool NET_RALINK_SOC
48 depends on NET_RALINK_MT7620
49 select NET_RALINK_MDIO
50
51 config NET_RALINK_ESW_RT3050
52 def_tristate NET_RALINK_SOC
53 depends on NET_RALINK_RT3050
54
55 config NET_RALINK_GSW_MT7620
56 def_tristate NET_RALINK_SOC
57 depends on NET_RALINK_MT7620
58 endif