]> asedeno.scripts.mit.edu Git - linux.git/blob - net/dsa/Kconfig
fab49132345f1e7a57c76e18f356e83578d69871
[linux.git] / net / dsa / Kconfig
1 config 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
7 config NET_DSA
8         tristate "Distributed Switch Architecture"
9         depends on HAVE_NET_DSA
10         depends on BRIDGE || BRIDGE=n
11         select NET_SWITCHDEV
12         select PHYLINK
13         ---help---
14           Say Y if you want to enable support for the hardware switches supported
15           by the Distributed Switch Architecture.
16
17 if NET_DSA
18
19 config 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
29 config NET_DSA_TAG_BRCM
30         bool
31
32 config NET_DSA_TAG_BRCM_PREPEND
33         bool
34
35 config NET_DSA_TAG_DSA
36         bool
37
38 config NET_DSA_TAG_EDSA
39         bool
40
41 config NET_DSA_TAG_GSWIP
42         bool
43
44 config NET_DSA_TAG_KSZ
45         bool
46
47 config NET_DSA_TAG_KSZ9477
48         bool
49         select NET_DSA_TAG_KSZ
50
51 config NET_DSA_TAG_LAN9303
52         bool
53
54 config NET_DSA_TAG_MTK
55         bool
56
57 config NET_DSA_TAG_TRAILER
58         bool
59
60 config NET_DSA_TAG_QCA
61         bool
62
63 endif