]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: enable selftest support for all switches by default
authorOleksij Rempel <o.rempel@pengutronix.de>
Mon, 19 Apr 2021 13:01:06 +0000 (15:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Apr 2021 23:08:02 +0000 (16:08 -0700)
commit63dee9869a4d53e35cfd3de593b26c750a26d11e
tree07ecb02f2ccd01f2307ad4486ae7e9f695eab1f3
parentf9948fb2536f0b6b7114ed95dff79eef4e41cba9
net: dsa: enable selftest support for all switches by default

Most of generic selftest should be able to work with probably all ethernet
controllers. The DSA switches are not exception, so enable it by default at
least for DSA.

This patch was tested with SJA1105 and AR9331.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/Kconfig
net/dsa/slave.c