commit | 79f664edc1cf51a87d6681514ec89b6da5fef8e1 | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@codeaurora.org> | Mon Jan 09 12:03:12 2017 -0600 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 10 13:26:25 2017 -0500 |
tree | bcf5d31193b2b0c6df4b70b51da15beef8af3b56 | |
parent | 3a89eaa65db68bf53bf92dedc60084f810e1779a [diff] |
net: qcom/emac: add ethtool support Add support for some ethtool methods: get/set link settings, get/set message level, get statistics, get link status, get ring params, get pause params, and restart autonegotiation. The code to collect the hardware statistics is moved into its own function so that it can be used by "get statistics" method. Signed-off-by: Timur Tabi <timur@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>