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

18
if NET_DSA
19

20 21 22 23
config NET_DSA_TAG_BRCM_COMMON
	tristate
	default n

24
config NET_DSA_TAG_BRCM
25 26 27 28 29 30
	tristate "Tag driver for Broadcom switches using in-frame headers"
	select NET_DSA_TAG_BRCM_COMMON
	help
	  Say Y if you want to enable support for tagging frames for the
	  Broadcom switches which place the tag after the MAC source address.

31

32
config NET_DSA_TAG_BRCM_PREPEND
33 34 35 36 37 38 39 40 41 42 43 44
	tristate "Tag driver for Broadcom switches using prepended headers"
	select NET_DSA_TAG_BRCM_COMMON
	help
	  Say Y if you want to enable support for tagging frames for the
	  Broadcom switches which places the tag before the Ethernet header
	  (prepended).

config NET_DSA_TAG_GSWIP
	tristate "Tag driver for Lantiq / Intel GSWIP switches"
	help
	  Say Y or M if you want to enable support for tagging frames for the
	  Lantiq / Intel GSWIP switches.
45

46
config NET_DSA_TAG_DSA
47 48 49 50
	tristate "Tag driver for Marvell switches using DSA headers"
	help
	  Say Y or M if you want to enable support for tagging frames for the
	  Marvell switches which use DSA headers.
51

52
config NET_DSA_TAG_EDSA
53 54 55 56
	tristate "Tag driver for Marvell switches using EtherType DSA headers"
	help
	  Say Y or M if you want to enable support for tagging frames for the
	  Marvell switches which use EtherType DSA headers.
57

58 59 60 61 62 63 64 65 66
config NET_DSA_TAG_MTK
	tristate "Tag driver for Mediatek switches"
	help
	  Say Y or M if you want to enable support for tagging frames for
	  Mediatek switches.

config NET_DSA_TAG_KSZ_COMMON
	tristate
	default n
67

68
config NET_DSA_TAG_KSZ
69 70 71 72 73
	tristate "Tag driver for Microchip 9893 family of switches"
	select NET_DSA_TAG_KSZ_COMMON
	help
	  Say Y if you want to enable support for tagging frames for the
	  Microchip 9893 family of switches.
74

75
config NET_DSA_TAG_KSZ9477
76 77 78 79 80
	tristate "Tag driver for Microchip 9477 family of switches"
	select NET_DSA_TAG_KSZ_COMMON
	help
	  Say Y if you want to enable support for tagging frames for the
	  Microchip 9477 family of switches.
81

82 83 84 85 86
config NET_DSA_TAG_QCA
	tristate "Tag driver for Qualcomm Atheros QCA8K switches"
	help
	  Say Y or M if you want to enable support for tagging frames for
	  the Qualcomm Atheros QCA8K switches.
87

88 89 90 91 92
config NET_DSA_TAG_LAN9303
	tristate "Tag driver for SMSC/Microchip LAN9303 family of switches"
	help
	  Say Y or M if you want to enable support for tagging frames for the
	  SMSC/Microchip LAN9303 family of switches.
93

94
config NET_DSA_TAG_TRAILER
95 96 97 98
	tristate "Tag driver for switches using a trailer tag"
	help
	  Say Y or M if you want to enable support for tagging frames at
	  with a trailed. e.g. Marvell 88E6060.
99

100
endif