From 47eef3a5ce981c6754836c8c996b4cc724617604 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Wed, 23 Jan 2019 13:46:15 +0800 Subject: 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 --- target/linux/generic/files/drivers/net/phy/ar8216.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/generic/files/drivers/net/phy/ar8216.h') 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; -- cgit v1.2.3