]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'genphy-ability'
authorDavid S. Miller <davem@davemloft.net>
Fri, 5 Apr 2019 00:55:37 +0000 (17:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Apr 2019 00:55:37 +0000 (17:55 -0700)
commitfc0a2a47ae0ce5771ca8c79ef7c3d087c0a9cf94
tree1c160e5436a636a15ffd696a6e873f7194031bf7
parent09e0ae7786d9635b46fd3dc4562768302e0172ef
parent14cd50a458fee074e941690806e93bda20176c02
Merge branch 'genphy-ability'

Heiner Kallweit says:

====================
net: phy: use generic PHY ability readers if callback get_features isn't set

Meanwhile we have generic functions for reading the abilities of
Clause 22 / 45 PHY's. This allows to use them as fallback in case
callback get_features isn't set. Benefit is the reduction of
boilerplate code in PHY drivers.

v2:
- adjust a comment in patch 1 to match the code
====================

Signed-off-by: David S. Miller <davem@davemloft.net>