]> git.baikalelectronics.ru Git - kernel.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)
commitc689295d8098eb946a63e2fb6d44612bb4f3e190
tree74f40b003da2d762e06b897ee819a2070933592d
parent0daa7a7ea6f14a60c406555578911a8f1ea6019e
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