Kconfig 1.1 KB
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
A
Andrew Lunn 已提交
10
	depends on BRIDGE || BRIDGE=n
V
Vivien Didelot 已提交
11
	select NET_SWITCHDEV
12
	select PHYLINK
13 14 15
	---help---
	  Say Y if you want to enable support for the hardware switches supported
	  by the Distributed Switch Architecture.
16

17
if NET_DSA
18

19 20 21 22 23 24 25 26 27
config NET_DSA_LEGACY
	bool "Support for older platform device and Device Tree registration"
	default y
	---help---
	  Say Y if you want to enable support for the older platform device and
	  deprecated Device Tree binding registration.

	  This feature is scheduled for removal in 4.17.

28
# tagging formats
29 30 31
config NET_DSA_TAG_BRCM
	bool

32 33 34
config NET_DSA_TAG_BRCM_PREPEND
	bool

35
config NET_DSA_TAG_DSA
36
	bool
37

38
config NET_DSA_TAG_EDSA
39
	bool
40

41 42 43
config NET_DSA_TAG_GSWIP
	bool

44 45 46
config NET_DSA_TAG_KSZ
	bool

47 48 49 50
config NET_DSA_TAG_KSZ9477
	bool
	select NET_DSA_TAG_KSZ

51
config NET_DSA_TAG_LAN9303
52 53
	bool

54
config NET_DSA_TAG_MTK
55 56
	bool

57
config NET_DSA_TAG_TRAILER
58
	bool
59

60
config NET_DSA_TAG_QCA
61 62
	bool

63
endif