diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2019-01-23 13:46:15 +0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-03-24 01:44:27 +0100 |
commit | 47eef3a5ce981c6754836c8c996b4cc724617604 (patch) | |
tree | 81617069f259da75143addb85ea431bacb3b33df /target/linux/generic/files/drivers/net/phy/ar8216.h | |
parent | c8c2ef1d495dd3fd3096ac508e91a02f9c583ea8 (diff) | |
download | upstream-47eef3a5ce981c6754836c8c996b4cc724617604.tar.gz upstream-47eef3a5ce981c6754836c8c996b4cc724617604.tar.bz2 upstream-47eef3a5ce981c6754836c8c996b4cc724617604.zip |
generic: ar8216: introduce qca,mib-poll-interval property
This allows users to specify a shorter mib poll interval so that the
swconfig leds could behave normal with current get_port_stats()
implementation.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/ar8216.h')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ar8216.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.h b/target/linux/generic/files/drivers/net/phy/ar8216.h index e9e8331786..35274b480a 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8216.h +++ b/target/linux/generic/files/drivers/net/phy/ar8216.h @@ -489,6 +489,7 @@ struct ar8xxx_priv { struct mutex mib_lock; struct delayed_work mib_work; u64 *mib_stats; + u32 mib_poll_interval; struct list_head list; unsigned int use_count; |