ar8216: add swconfig attribute to display ARL table on AR8327/AR8337
authorFelix Fietkau <nbd@openwrt.org>
Sat, 24 Jan 2015 19:42:06 +0000 (19:42 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 24 Jan 2015 19:42:06 +0000 (19:42 +0000)
commit4bfb00d02d6537fee9557d989601bc235fa81116
treea0afadd52a96538fee50829f7c06d84fce4b2cb2
parent95e0b242c20cd8fe135e989cdad76405d38cca25
ar8216: add swconfig attribute to display ARL table on AR8327/AR8337

Add global read-only swconfig attribute "arl_table" to display the
address resolution table.
So far the chip-specific part is implemented for AR8327/AR8337 only
as I don't have the datasheets for the other AR8XXX chips.

Successfully tested on TL-WDR4300 (AR8327rev2)
and TL-WDR4900 (AR8327rev4).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44104 3c298f89-4303-0410-b956-a3cf2f4a3e73
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