linux/generic: add MIB counters and port status to ADM6996 switch
authorJohn Crispin <john@openwrt.org>
Tue, 22 Apr 2014 08:08:02 +0000 (08:08 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 22 Apr 2014 08:08:02 +0000 (08:08 +0000)
commit1b96cf30a91d98f3e84aac12b19d2a2bbbe5d402
treed4081993ad170ba2cc0e20e375e05973a35b3803
parentcdc53e2ec90b017e5a21e3a8b36536c523367de9
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>
SVN-Revision: 40542
target/linux/generic/files/drivers/net/phy/adm6996.c
target/linux/generic/files/drivers/net/phy/adm6996.h