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)
commit3a313a3e11adc1d44a8c7108ffb158f1ab1304d5
treeeaf4992dfe37ae15d6b86225804549baa182c2b9
parent6ce848f622ebf21eb8bcc8924d00556057f2efd6
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