Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 1 | config HAVE_NET_DSA |
2 | def_bool y | ||||
Vivien Didelot | 3a89eaa | 2017-01-09 16:49:26 -0500 | [diff] [blame] | 3 | depends on INET && NETDEVICES && !S390 |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 4 | |
5 | # Drivers must select NET_DSA and the appropriate tagging format | ||||
6 | |||||
Ben Hutchings | 3b158859 | 2011-11-27 17:08:33 +0000 | [diff] [blame] | 7 | config NET_DSA |
Mathieu Olivari | c6f1507 | 2015-03-20 18:31:03 -0700 | [diff] [blame] | 8 | tristate "Distributed Switch Architecture" |
Tobias Regnery | 768bfa2 | 2017-03-31 11:44:52 +0200 | [diff] [blame] | 9 | depends on HAVE_NET_DSA && MAY_USE_DEVLINK |
Andrew Lunn | ee0ab7a2 | 2017-11-11 16:29:41 +0100 | [diff] [blame] | 10 | depends on BRIDGE || BRIDGE=n |
Vivien Didelot | 3a89eaa | 2017-01-09 16:49:26 -0500 | [diff] [blame] | 11 | select NET_SWITCHDEV |
Florian Fainelli | 11d8f3d | 2018-05-10 13:17:32 -0700 | [diff] [blame] | 12 | select PHYLINK |
Mathieu Olivari | c6f1507 | 2015-03-20 18:31:03 -0700 | [diff] [blame] | 13 | ---help--- |
14 | Say Y if you want to enable support for the hardware switches supported | ||||
15 | by the Distributed Switch Architecture. | ||||
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 16 | |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 17 | if NET_DSA |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 18 | |
Florian Fainelli | 2a93c1a | 2017-12-06 15:03:33 -0800 | [diff] [blame] | 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 | |||||
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 28 | # tagging formats |
Florian Fainelli | 5037d53 | 2014-08-27 17:04:55 -0700 | [diff] [blame] | 29 | config NET_DSA_TAG_BRCM |
30 | bool | ||||
31 | |||||
Florian Fainelli | b74b70c | 2017-11-10 15:22:54 -0800 | [diff] [blame] | 32 | config NET_DSA_TAG_BRCM_PREPEND |
33 | bool | ||||
34 | |||||
Lennert Buytenhek | cf85d08 | 2008-10-07 13:45:02 +0000 | [diff] [blame] | 35 | config NET_DSA_TAG_DSA |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 36 | bool |
Lennert Buytenhek | cf85d08 | 2008-10-07 13:45:02 +0000 | [diff] [blame] | 37 | |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 38 | config NET_DSA_TAG_EDSA |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 39 | bool |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 40 | |
Hauke Mehrtens | 7969119 | 2018-09-09 22:16:43 +0200 | [diff] [blame] | 41 | config NET_DSA_TAG_GSWIP |
42 | bool | ||||
43 | |||||
Woojung Huh | 8b8010f | 2017-05-31 20:19:06 +0000 | [diff] [blame] | 44 | config NET_DSA_TAG_KSZ |
45 | bool | ||||
46 | |||||
Tristram Ha | 39d6b96 | 2018-12-15 01:58:04 +0100 | [diff] [blame] | 47 | config NET_DSA_TAG_KSZ9477 |
48 | bool | ||||
49 | select NET_DSA_TAG_KSZ | ||||
50 | |||||
Andrew Lunn | eb7b721 | 2017-05-16 22:40:07 +0200 | [diff] [blame] | 51 | config NET_DSA_TAG_LAN9303 |
John Crispin | cafdc45 | 2016-09-15 16:26:40 +0200 | [diff] [blame] | 52 | bool |
53 | |||||
Sean Wang | 5cd8985 | 2017-04-07 16:45:06 +0800 | [diff] [blame] | 54 | config NET_DSA_TAG_MTK |
55 | bool | ||||
Juergen Beisert | e8fe177 | 2017-04-18 10:48:24 +0200 | [diff] [blame] | 56 | |
Andrew Lunn | eb7b721 | 2017-05-16 22:40:07 +0200 | [diff] [blame] | 57 | config NET_DSA_TAG_TRAILER |
58 | bool | ||||
59 | |||||
60 | config NET_DSA_TAG_QCA | ||||
Juergen Beisert | e8fe177 | 2017-04-18 10:48:24 +0200 | [diff] [blame] | 61 | bool |
62 | |||||
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 63 | endif |