Loading...
1menuconfig NET_DSA
2 bool "Distributed Switch Architecture support"
3 default n
4 depends on EXPERIMENTAL && NETDEVICES && !S390
5 select PHYLIB
6 ---help---
7 This allows you to use hardware switch chips that use
8 the Distributed Switch Architecture.
9
10
11if NET_DSA
12
13# tagging formats
14config NET_DSA_TAG_DSA
15 bool
16 default n
17
18config NET_DSA_TAG_EDSA
19 bool
20 default n
21
22config NET_DSA_TAG_TRAILER
23 bool
24 default n
25
26
27# switch drivers
28config NET_DSA_MV88E6XXX
29 bool
30 default n
31
32config NET_DSA_MV88E6060
33 bool "Marvell 88E6060 ethernet switch chip support"
34 select NET_DSA_TAG_TRAILER
35 ---help---
36 This enables support for the Marvell 88E6060 ethernet switch
37 chip.
38
39config NET_DSA_MV88E6XXX_NEED_PPU
40 bool
41 default n
42
43config NET_DSA_MV88E6131
44 bool "Marvell 88E6085/6095/6095F/6131 ethernet switch chip support"
45 select NET_DSA_MV88E6XXX
46 select NET_DSA_MV88E6XXX_NEED_PPU
47 select NET_DSA_TAG_DSA
48 ---help---
49 This enables support for the Marvell 88E6085/6095/6095F/6131
50 ethernet switch chips.
51
52config NET_DSA_MV88E6123_61_65
53 bool "Marvell 88E6123/6161/6165 ethernet switch chip support"
54 select NET_DSA_MV88E6XXX
55 select NET_DSA_TAG_EDSA
56 ---help---
57 This enables support for the Marvell 88E6123/6161/6165
58 ethernet switch chips.
59
60endif
1config HAVE_NET_DSA
2 def_bool y
3 depends on INET && NETDEVICES && !S390
4
5# Drivers must select NET_DSA and the appropriate tagging format
6
7config NET_DSA
8 tristate "Distributed Switch Architecture"
9 depends on HAVE_NET_DSA && MAY_USE_DEVLINK
10 depends on BRIDGE || BRIDGE=n
11 select NET_SWITCHDEV
12 select PHYLIB
13 ---help---
14 Say Y if you want to enable support for the hardware switches supported
15 by the Distributed Switch Architecture.
16
17if NET_DSA
18
19config NET_DSA_LEGACY
20 bool "Support for older platform device and Device Tree registration"
21 default y
22 ---help---
23 Say Y if you want to enable support for the older platform device and
24 deprecated Device Tree binding registration.
25
26 This feature is scheduled for removal in 4.17.
27
28# tagging formats
29config NET_DSA_TAG_BRCM
30 bool
31
32config NET_DSA_TAG_BRCM_PREPEND
33 bool
34
35config NET_DSA_TAG_DSA
36 bool
37
38config NET_DSA_TAG_EDSA
39 bool
40
41config NET_DSA_TAG_KSZ
42 bool
43
44config NET_DSA_TAG_LAN9303
45 bool
46
47config NET_DSA_TAG_MTK
48 bool
49
50config NET_DSA_TAG_TRAILER
51 bool
52
53config NET_DSA_TAG_QCA
54 bool
55
56endif