aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa.c
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2016-06-07 23:32:41 +0000
committerDavid S. Miller <[email protected]>2016-06-08 18:23:42 +0000
commitaf42192c47c41ec132bda736a78d6d5e0d2999a9 (patch)
treef70a2550705174b35a899047d2b4f4b4c62cb933 /net/dsa/dsa.c
parentnet: dsa: Provide a slave MII bus if needed (diff)
downloadkernel-af42192c47c41ec132bda736a78d6d5e0d2999a9.tar.gz
kernel-af42192c47c41ec132bda736a78d6d5e0d2999a9.zip
net: dsa: Add initialization helper for CPU port ethtool_ops
Add a helper function: dsa_cpu_port_ethtool_init() which initializes a custom ethtool_ops structure with custom DSA ethtool operations for CPU ports. This is a preliminary change to move the initialization outside of net/dsa/slave.c. Reviewed-by: Vivien Didelot <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions