projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dd38cd
)
net: dsa: mv88e6171: Add support for reading switch registers
author
Andrew Lunn
<andrew@lunn.ch>
Sat, 15 Nov 2014 21:24:53 +0000
(22:24 +0100)
committer
David S. Miller
<davem@davemloft.net>
Sun, 16 Nov 2014 20:47:26 +0000
(15:47 -0500)
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>
drivers/net/dsa/mv88e6171.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/dsa/mv88e6171.c
b/drivers/net/dsa/mv88e6171.c
index ed4c79778823c7988134f1a78cea2e18843622e9..aa33d16f2e22ec6b48f6332db928c9899ce82817 100644
(file)
--- 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");