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)
commita1fba9dfbe628b171ac789510aca233178fe7d85
tree38ec5d133caf341afa6006eceef514da05821bb5
parent74146c62c0cd494719abb3150ce478da973e7c83
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