]> git.baikalelectronics.ru Git - kernel.git/commit
Marvell phy: add field to get errors from fiber link.
authorCharles-Antoine Couret <charles-antoine.couret@nexvision.fr>
Tue, 19 Jul 2016 09:13:11 +0000 (11:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2016 23:05:56 +0000 (16:05 -0700)
commit06d700d51986752332a664cb6150b9f8839ee2eb
treec8a6c1c1b7eff30e64df8f9357e54f422c7b0a74
parent501dec778b748dbff34091f2add51b532bdd6575
Marvell phy: add field to get errors from fiber link.

Add support for the fiber receiver error counter in the
statistics. Rename the current counter which is for copper errors to
phy_receive_errors_copper, so it is easy to distinguish copper from
fiber.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@nexvision.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c