]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: dsa: Relocate master ethtool operations
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 13 Jun 2017 20:27:20 +0000 (13:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jun 2017 20:35:02 +0000 (16:35 -0400)
commit67dbb9d433447e358de7d293f15318bb5db9529b
tree74f40b003da2d762e06b897ee819a2070933592d
parent6d3c8c0dd88a5ffc7e3695997641e4b6d4c11065
net: dsa: Relocate master ethtool operations

Relocate master_ethtool_ops and master_orig_ethtool_ops into struct
dsa_port in order to be both consistent, and make things self contained
within the dsa_port structure.

This is a preliminary change to supporting multiple CPU port interfaces.

Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa.c
net/dsa/slave.c