OSDN Git Service

net: dsa: select NET_SWITCHDEV
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 9 Jan 2017 21:49:26 +0000 (16:49 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 22:17:30 +0000 (17:17 -0500)
commit3a89eaa65db68bf53bf92dedc60084f810e1779a
tree7dccb8f867e250a5fc2c9664f0cc21ab4fcba244
parentbda65b4255ac983ce36a6c0ea6a7794f8e8fcc86
net: dsa: select NET_SWITCHDEV

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: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/Kconfig