diff options
author | Andrew Lunn <andrew@lunn.ch> | 2014-11-15 22:24:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-16 15:47:26 -0500 |
commit | 03d6faa98097c0321a95b64b22b03011466ceb60 (patch) | |
tree | 351d6e62cd15e2ba9fa713fcf3a462756586b4ac | |
parent | 4dd38cdb42c31a4ba69fbccf826fd4cd5e488edb (diff) | |
download | op-kernel-dev-03d6faa98097c0321a95b64b22b03011466ceb60.zip op-kernel-dev-03d6faa98097c0321a95b64b22b03011466ceb60.tar.gz |
net: dsa: mv88e6171: Add support for reading switch registers
The infrastructure can now report switch registers to ethtool.
Add support for it to the mv88e6171 driver.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/dsa/mv88e6171.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6171.c b/drivers/net/dsa/mv88e6171.c index ed4c797..aa33d16 100644 --- a/drivers/net/dsa/mv88e6171.c +++ b/drivers/net/dsa/mv88e6171.c @@ -423,6 +423,8 @@ struct dsa_switch_driver mv88e6171_switch_driver = { #ifdef CONFIG_NET_DSA_HWMON .get_temp = mv88e6xxx_get_temp, #endif + .get_regs_len = mv88e6xxx_get_regs_len, + .get_regs = mv88e6xxx_get_regs, }; MODULE_ALIAS("platform:mv88e6171"); |