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)
commitef404e1befb042ea2c959b41c614488471f1edf9
treea0afadd52a96538fee50829f7c06d84fce4b2cb2
parentdda70e257cb90da42f51be7de96e5a04c7ce918f
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>
SVN-Revision: 44104
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