linux/generic: add MIB counters and port status to ADM6996 switch
authorJohn Crispin <blogic@openwrt.org>
Tue, 22 Apr 2014 08:08:02 +0000 (08:08 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 22 Apr 2014 08:08:02 +0000 (08:08 +0000)
commit4fb275842c3031b75109bb9b2e5a1c5e757ab910
treeaceb8696f5ed6e2307978de407bf342966e2e22a
parent3e124898855e6bc148b9075c00ba1b9f17bd6835
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