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)
commit2666403c3a850088a440d65f1a49004f1e9d926c
treedaf9fd32309fd2492ca71df4839b96ea56cb80eb
parent52ea491bdf6c57fdd60c5ffc268af3bd67c35103
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