commit | 0d30bbd03d8483548bed1fc1e96fc6cfd10248b1 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Sun Feb 16 18:54:13 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 16 20:00:21 2020 -0800 |
tree | 7847cadc30ef48d4c2da76e15533266889ee027a | |
parent | 27aa6228d6d64922bc726e7853271bc9b4d5571f [diff] |
net: dsa: mv88e6xxx: Allow PCS registers to be retrieved via ethtool ethtool provides a generic mechanism for a driver to return the registers of an ethernet device. DSA uses this to give the port registers associated with an interfaces. Extend this to allow PCS registers to also be returned, if the port has a PCS associated to it. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>