Kconfig 735 字节
Newer Older
1 2
config HAVE_NET_DSA
	def_bool y
V
Vivien Didelot 已提交
3
	depends on INET && NETDEVICES && !S390
4 5 6

# Drivers must select NET_DSA and the appropriate tagging format

7
config NET_DSA
8
	tristate "Distributed Switch Architecture"
9
	depends on HAVE_NET_DSA && MAY_USE_DEVLINK
V
Vivien Didelot 已提交
10
	select NET_SWITCHDEV
D
David S. Miller 已提交
11
	select PHYLIB
12 13 14
	---help---
	  Say Y if you want to enable support for the hardware switches supported
	  by the Distributed Switch Architecture.
15

16
if NET_DSA
17 18

# tagging formats
19 20 21
config NET_DSA_TAG_BRCM
	bool

22 23 24
config NET_DSA_TAG_BRCM_PREPEND
	bool

25
config NET_DSA_TAG_DSA
26
	bool
27

28
config NET_DSA_TAG_EDSA
29
	bool
30

31 32 33
config NET_DSA_TAG_KSZ
	bool

34
config NET_DSA_TAG_LAN9303
35 36
	bool

37
config NET_DSA_TAG_MTK
38 39
	bool

40
config NET_DSA_TAG_TRAILER
41
	bool
42

43
config NET_DSA_TAG_QCA
44 45
	bool

46
endif