]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: refactor ethtool callbacks
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 9 Nov 2019 13:02:54 +0000 (15:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Nov 2019 20:59:10 +0000 (12:59 -0800)
commit27c1661f9e4730d62693f2c4260913c96b52a181
tree6277c41204d7ce37854d3cd77076b5954af3a016
parent006387992f6493f3b4d25c42445f0d6c43b698ed
net: mscc: ocelot: refactor ethtool callbacks

Convert them into an implementation that can be called from DSA as well.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c