ar8216: add reading ARL table for AR8216/AR8236/AR8316
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 15 Jul 2015 08:17:23 +0000 (08:17 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 15 Jul 2015 08:17:23 +0000 (08:17 +0000)
commitdf4d3e453783c65f66bef00478108a2f131a5eb8
treea2dd90c059a7909d94488bbf63add11a16d839dc
parent05ed92732c220ea1b00162b8a86b19a2eb57b97a
ar8216: add reading ARL table for AR8216/AR8236/AR8316

Adds the chip-specific part of reading ARL table for AR8216/AR8236/AR8316.

It's based on the AR8236 datasheet and compile-tested only as I couldn't
find datasheets for AR8216/AR8316 and don't own devices with these chips.

The existing ar8216_atu_flush implementation was used for all three
chip types, therefore I guess they share a common ATU register layout.

More testing would be appreciated.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46379 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ar8216.h