This patchset add ethtool support for reading statistics from the PHY. The Marvell and Micrel Phys are then extended to report receiver packet errors and idle errors.
v2: Fix linking when phylib is not enabled. Andrew Lunn (3): ethtool: Add phy statistics phy: marvell: Add ethtool statistics counters phy: micrel: Add ethtool statistics counters drivers/net/phy/marvell.c | 135 +++++++++++++++++++++++++++++++++++++++++++ drivers/net/phy/micrel.c | 96 ++++++++++++++++++++++++++++++ drivers/net/phy/phy.c | 35 +++++++++++ include/linux/phy.h | 11 +++- include/uapi/linux/ethtool.h | 3 + net/core/ethtool.c | 57 +++++++++++++++++- 6 files changed, 335 insertions(+), 2 deletions(-) -- 2.6.4 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html