提交 c6f15070 编写于 作者: M Mathieu Olivari 提交者: David S. Miller

net: dsa: make NET_DSA manually selectable from the config

Change bd76a116 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.
Signed-off-by: NMathieu Olivari <mathieu@codeaurora.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 13bb8e2e
...@@ -5,9 +5,12 @@ config HAVE_NET_DSA ...@@ -5,9 +5,12 @@ config HAVE_NET_DSA
# Drivers must select NET_DSA and the appropriate tagging format # Drivers must select NET_DSA and the appropriate tagging format
config NET_DSA config NET_DSA
tristate tristate "Distributed Switch Architecture"
depends on HAVE_NET_DSA && NET_SWITCHDEV depends on HAVE_NET_DSA && NET_SWITCHDEV
select PHYLIB select PHYLIB
---help---
Say Y if you want to enable support for the hardware switches supported
by the Distributed Switch Architecture.
if NET_DSA if NET_DSA
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册