projects
/
openwrt
/
staging
/
kaloz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
generic: provide get_port_stats() on ar8xxx switches
[openwrt/staging/kaloz.git]
/
target
/
linux
/
generic
/
files
/
drivers
/
net
/
phy
/
ar8327.c
diff --git
a/target/linux/generic/files/drivers/net/phy/ar8327.c
b/target/linux/generic/files/drivers/net/phy/ar8327.c
index 24a13c6418cd392a23c7a84db1266003c86b0306..bae9744736c6d6002d5413a4e00dd2db4fcaa8a8 100644
(file)
--- a/
target/linux/generic/files/drivers/net/phy/ar8327.c
+++ b/
target/linux/generic/files/drivers/net/phy/ar8327.c
@@
-1411,6
+1411,7
@@
static const struct switch_dev_ops ar8327_sw_ops = {
.apply_config = ar8327_sw_hw_apply,
.reset_switch = ar8xxx_sw_reset_switch,
.get_port_link = ar8xxx_sw_get_port_link,
+ .get_port_stats = ar8xxx_sw_get_port_stats,
};
const struct ar8xxx_chip ar8327_chip = {