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)
commitd1c4e36b5a80bca7ef435eecb2e279a38700cf9d
tree8dade0795aabb572c965a58e5d08693395a26ae6
parente4ce71231276629d7aedb8610b9d6c99c7043906
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>
SVN-Revision: 44102
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ar8216.h