aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/ar8216.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-07-15 08:17:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-07-15 08:17:42 +0000
commitb04b1ca93381886f2d2caae94d91e6e81212a835 (patch)
treef07a649017988e6845f7f977a354504259dfddc5 /target/linux/generic/files/drivers/net/phy/ar8216.h
parent33b72b8e0faf7a39faabece584fd6da61cd8f8df (diff)
downloadupstream-b04b1ca93381886f2d2caae94d91e6e81212a835.tar.gz
upstream-b04b1ca93381886f2d2caae94d91e6e81212a835.tar.bz2
upstream-b04b1ca93381886f2d2caae94d91e6e81212a835.zip
ar8216: add swconfig attributes for ARL table flushing
Add swconfig attributes for flushing the ARL table globally or per port. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 46382
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/ar8216.h')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.h8
1 files changed, 8 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 5abbd55cc1..14fe928fe0 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.h
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.h
@@ -543,6 +543,14 @@ ar8xxx_sw_get_arl_table(struct switch_dev *dev,
const struct switch_attr *attr,
struct switch_val *val);
int
+ar8xxx_sw_set_flush_arl_table(struct switch_dev *dev,
+ const struct switch_attr *attr,
+ struct switch_val *val);
+int
+ar8xxx_sw_set_flush_port_arl_table(struct switch_dev *dev,
+ const struct switch_attr *attr,
+ struct switch_val *val);
+int
ar8216_wait_bit(struct ar8xxx_priv *priv, int reg, u32 mask, u32 val);
static inline struct ar8xxx_priv *