linux/generic: add MIB counters and port status to ADM6996 switch
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 22 Apr 2014 08:08:02 +0000 (08:08 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 22 Apr 2014 08:08:02 +0000 (08:08 +0000)
commit17a19442ccf01577127a7d43a9bf3d77cf877495
treeaceb8696f5ed6e2307978de407bf342966e2e22a
parent89a807cdcf9180a05f30307e527e9e51ddc48810
linux/generic: add MIB counters and port status to ADM6996 switch

This patch adds port status information and MIB counters to the ADM6996
switch driver.

The driver supports also the older ADM6996L-variant, but I'm not able to
test this patch on that chip. According to the datasheet the same
registers exist there as well, so I think it should work, but any
feedback is appreciated.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40542 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/adm6996.c
target/linux/generic/files/drivers/net/phy/adm6996.h