aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/ar8216.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-24 19:41:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-24 19:41:55 +0000
commitf04feb379921c826b6034c831e8a5aed01525f9e (patch)
tree8dade0795aabb572c965a58e5d08693395a26ae6 /target/linux/generic/files/drivers/net/phy/ar8216.h
parentae7769af49f1e104e701ff96e51b4c3a655ba2b6 (diff)
downloadupstream-f04feb379921c826b6034c831e8a5aed01525f9e.tar.gz
upstream-f04feb379921c826b6034c831e8a5aed01525f9e.tar.bz2
upstream-f04feb379921c826b6034c831e8a5aed01525f9e.zip
ar8216: add link change detection for switch ports
Check for switch port link changes and - flush ATU in case of a change - report link change via syslog Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44102 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/ar8216.h')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.h1
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 8487c3ea49..2d025ae835 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.h
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.h
@@ -396,6 +396,7 @@ struct ar8xxx_priv {
bool initialized;
bool port4_phy;
char buf[2048];
+ bool link_up[AR8X16_MAX_PORTS];
bool init;