ar8216: add reading ARL table for AR8216/AR8236/AR8316
authorFelix Fietkau <nbd@openwrt.org>
Wed, 15 Jul 2015 08:17:23 +0000 (08:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 15 Jul 2015 08:17:23 +0000 (08:17 +0000)
commit04e322fb71ca46ee06a617433ebc43af1973a511
treea2dd90c059a7909d94488bbf63add11a16d839dc
parenta736b093ddc126dbb5901255be3a06f679f8fc48
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>
SVN-Revision: 46379
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ar8216.h