Commit d9c0678d authored by Vivien Didelot's avatar Vivien Didelot Committed by Thadeu Lima de Souza Cascardo

net: dsa: select NET_SWITCHDEV

BugLink: http://bugs.launchpad.net/bugs/1732698

[ Upstream commit 3a89eaa6 ]

The support for DSA Ethernet switch chips depends on TCP/IP networking,
thus explicit that HAVE_NET_DSA depends on INET.

DSA uses SWITCHDEV, thus select it instead of depending on it.
Signed-off-by: default avatarVivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Tested-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
parent 1eea0c54
config HAVE_NET_DSA config HAVE_NET_DSA
def_bool y def_bool y
depends on NETDEVICES && !S390 depends on INET && NETDEVICES && !S390
# 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 "Distributed Switch Architecture" tristate "Distributed Switch Architecture"
depends on HAVE_NET_DSA && NET_SWITCHDEV depends on HAVE_NET_DSA
select NET_SWITCHDEV
select PHYLIB select PHYLIB
---help--- ---help---
Say Y if you want to enable support for the hardware switches supported Say Y if you want to enable support for the hardware switches supported
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment