summaryrefslogtreecommitdiff
path: root/drivers/staging/mt7621-eth/Kconfig
blob: 44ea86c7a96c62e450fc10b3323eae9a98a3b257 (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
config NET_VENDOR_MEDIATEK_STAGING
	bool "MediaTek ethernet driver - staging version"
	depends on RALINK
	---help---
	  If you have an MT7621 Mediatek SoC with ethernet, say Y.

if NET_VENDOR_MEDIATEK_STAGING
choice
	prompt "MAC type"

config NET_MEDIATEK_MT7621
	bool "MT7621"
	depends on MIPS && SOC_MT7621

endchoice

config NET_MEDIATEK_SOC_STAGING
	tristate "MediaTek SoC Gigabit Ethernet support"
	depends on NET_VENDOR_MEDIATEK_STAGING
	select PHYLIB
	---help---
	  This driver supports the gigabit ethernet MACs in the
	  MediaTek SoC family.

config NET_MEDIATEK_MDIO
	def_bool NET_MEDIATEK_SOC_STAGING
	depends on NET_MEDIATEK_MT7621
	select PHYLIB

config NET_MEDIATEK_MDIO_MT7620
	def_bool NET_MEDIATEK_SOC_STAGING
	depends on NET_MEDIATEK_MT7621
	select NET_MEDIATEK_MDIO

config NET_MEDIATEK_GSW_MT7621
	def_tristate NET_MEDIATEK_SOC_STAGING
	depends on NET_MEDIATEK_MT7621

endif #NET_VENDOR_MEDIATEK_STAGING