ar8216: add link change detection for switch ports
authorFelix Fietkau <nbd@openwrt.org>
Sat, 24 Jan 2015 19:41:55 +0000 (19:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 24 Jan 2015 19:41:55 +0000 (19:41 +0000)
commitf04feb379921c826b6034c831e8a5aed01525f9e
tree8dade0795aabb572c965a58e5d08693395a26ae6
parentae7769af49f1e104e701ff96e51b4c3a655ba2b6
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
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ar8216.h