commit | c59530d0d5dccc96795af12c139f618182cf98db | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Wed Apr 25 12:12:47 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 27 11:53:02 2018 -0400 |
tree | 9e841a2c973dd5fc1f68118fc722b232cab31198 | |
parent | 834944073301e85001c3ed9913027ca47c6f889b [diff] |
net: Move PHY statistics code into PHY library helpers In order to make it possible for network device drivers that do not necessarily have a phy_device attached, but still report PHY statistics, have a preliminary refactoring consisting in creating helper functions that encapsulate the PHY device driver knowledge within PHYLIB. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>