net: dsa: make NET_DSA manually selectable from the config
Subsystems (3)
PATCH 1/1 net: dsa: make NET_DSA manually selectable from the config
Change bd76a116707bd2381da36cf7c3183df11293f1d6 made all DSA drivers depend on NET_DSA rather than selecting them. However, as the only way to select this option was to actually select a driver, it made DSA impossible to enable at all.
This patch adds an explicit entry which the user will have to enable prior selecting a driver.
--- net/dsa/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
net/dsa/Kconfig +4 -1
@@ -5,9 +5,12 @@ config HAVE_NET_DSA # Drivers must select NET_DSA and the appropriate tagging format config NET_DSA - tristate + tristate "Distributed Switch Architecture" depends on HAVE_NET_DSA && NET_SWITCHDEV select PHYLIB + ---help--- + Say Y if you want to enable support for the hardware switches supported + by the Distributed Switch Architecture. if NET_DSA
Signature · 1 line
1.9.1
Quoted 8 lines · Mathieu Olivari
Change
bd76a116707bd2381da36cf7c3183df11293f1d6made all DSA drivers depend onNET_DSArather than selecting them. However, as the only way to select this option was to actually select a driver, it made DSA impossible to enable at all.This patch adds an explicit entry which the user will have to enable prior selecting a driver.
Quoted 1 line
Signed-off-by Mathieu Olivari <[email protected]>
Andrew found the same problem yesterday and was about to submit the same patch...
Quoted 23 lines
--- net/dsa/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)net/dsa/Kconfig +4
-1@@ -5,9 +5,12 @@ config HAVE_NET_DSA # Drivers must select NET_DSA and the appropriate tagging format config NET_DSA - tristate + tristate "Distributed Switch Architecture" depends on HAVE_NET_DSA && NET_SWITCHDEV select PHYLIB + ---help--- + Say Y if you want to enable support for the hardware switches supported + by the Distributed Switch Architecture. if NET_DSA
From: Mathieu Olivari <[email protected]>
Date: Fri, 20 Mar 2015 18:31:03 -0700
Quoted 9 lines
Change
bd76a116707bd2381da36cf7c3183df11293f1d6made all DSA drivers depend onNET_DSArather than selecting them. However, as the only way to select this option was to actually select a driver, it made DSA impossible to enable at all.This patch adds an explicit entry which the user will have to enable prior selecting a driver.
Signed-off-by Mathieu Olivari <[email protected]>
Applied.
Andrew Lunn
maintainerQuoted 9 lines · Mathieu Olivari
Change
bd76a116707bd2381da36cf7c3183df11293f1d6made all DSA drivers depend onNET_DSArather than selecting them. However, as the only way to select this option was to actually select a driver, it made DSA impossible to enable at all.This patch adds an explicit entry which the user will have to enable prior selecting a driver.
Signed-off-by Mathieu Olivari <[email protected]>
A bit late, but
Andrew
Quoted 29 lines
--- net/dsa/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)net/dsa/Kconfig +4
-1@@ -5,9 +5,12 @@ config HAVE_NET_DSA # Drivers must select NET_DSA and the appropriate tagging format config NET_DSA - tristate + tristate "Distributed Switch Architecture" depends on HAVE_NET_DSA && NET_SWITCHDEV select PHYLIB + ---help--- + Say Y if you want to enable support for the hardware switches supported + by the Distributed Switch Architecture. if NET_DSASignature · 6 lines
1.9.1 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello.
Quoted 1 line · Mathieu Olivari
Change
bd76a116707bd2381da36cf7c3183df11293f1d6made all DSA drivers
s/Change/Commit/, perhaps?
And please also specify that commit's summary line in parens.
Quoted 17 lines
depend on
NET_DSArather than selecting them. However, as the only way to select this option was to actually select a driver, it made DSA impossible to enable at all.This patch adds an explicit entry which the user will have to enable prior selecting a driver.
Signed-off-by Mathieu Olivari <[email protected]>--- net/dsa/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)net/dsa/Kconfig +0
-0
net/dsa/Kconfig config HAVE_NET_DSA · line 11
Quoted 8 lines
net/dsa/Kconfig +2
-1@@ -5,9 +5,12 @@ config HAVE_NET_DSA # Drivers must select NET_DSA and the appropriate tagging format config NET_DSA - tristate + tristate "Distributed Switch Architecture" depends on HAVE_NET_DSA && NET_SWITCHDEV select PHYLIB + ---help---
Hm, why not just help?
WBR, Sergei