ralink: add reworked ethernet driver
[openwrt/svn-archive/archive.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / Kconfig
1 config NET_RALINK
2 tristate "Ralink ethernet driver"
3 depends on RALINK
4 help
5 This driver supports the ethernet mac inside the ralink wisocs
6
7 if NET_RALINK
8 choice
9 prompt "MAC type"
10
11 config NET_RALINK_RT288X
12 bool "RT288X"
13 depends on SOC_RT288X
14
15 config NET_RALINK_RT305X
16 bool "RT305X"
17 depends on (SOC_RT305X || SOC_MT7620)
18
19 config NET_RALINK_RT3883
20 bool "RT3883"
21 depends on SOC_RT3883
22
23 config NET_RALINK_MT7620
24 bool "MT7620"
25 depends on (SOC_MT7620 || SOC_MT7621)
26
27 endchoice
28
29 config NET_RALINK_MDIO
30 def_bool NET_RALINK
31 depends on (NET_RALINK_RT288X || NET_RALINK_RT3883 || NET_RALINK_MT7620 || NET_RALINK_MT7621)
32 select PHYLIB
33
34 config NET_RALINK_MDIO_RT2880
35 def_bool NET_RALINK
36 depends on (NET_RALINK_RT288X || NET_RALINK_RT3883)
37 select NET_RALINK_MDIO
38
39 config NET_RALINK_ESW_RT3052
40 def_bool NET_RALINK
41 depends on NET_RALINK_RT305X
42 select PHYLIB
43 select SWCONFIG
44
45 config NET_RALINK_GSW_MT7620
46 def_bool NET_RALINK
47 depends on NET_RALINK_MT7620 || NET_RALINK_MT7621
48 select NET_RALINK_MDIO
49 select PHYLIB
50 select SWCONFIG
51 endif