ar8216: add ARL table flushing per port
authorFelix Fietkau <nbd@openwrt.org>
Wed, 15 Jul 2015 08:17:28 +0000 (08:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 15 Jul 2015 08:17:28 +0000 (08:17 +0000)
commit8e2ea068e1c19bad74bdca368292159d175ace83
treee740e006678384d12de814499b3377ded798302d
parent04e322fb71ca46ee06a617433ebc43af1973a511
ar8216: add ARL table flushing per port

Adds functions for flushing ARL table entries per port.

Successfully tested on AR8327. Implementation for AR8216/AR8236/AR8316
is based on the AR8236 datasheet and assumes that the three chips
share a common ATU register layout.
Compile-tested only for AR8216/AR8236/AR8316.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 46380
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ar8216.h
target/linux/generic/files/drivers/net/phy/ar8327.c
target/linux/generic/files/drivers/net/phy/ar8327.h