commit | 17a22fcfc84a422d98a0f54e67d4ee8ee3875849 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Mon Nov 06 16:11:45 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 09 09:26:49 2017 +0900 |
tree | d8ebb6b8988e6f29b2c3fe048d2b93cad639ddcf | |
parent | f070464cf000131928b2c3fd592efd1946610eea [diff] |
net: dsa: setup and teardown master device Add DSA helpers to setup and teardown a master net device wired to its CPU port. This centralizes the dsa_ptr assignment. This also makes the master ethtool helpers static at the same time. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>