]> asedeno.scripts.mit.edu Git - linux.git/commit
net: phy: add genphy_read_abilities
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 27 Mar 2019 20:58:44 +0000 (21:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Apr 2019 20:09:55 +0000 (13:09 -0700)
commit045925e3fe5b98e402337a176d154252c56cef2e
tree6597b18b92201126a5795cba6b372a320d6c5d2e
parent6d670497e01803b486aa72cc1a718401ab986896
net: phy: add genphy_read_abilities

Similar to genphy_c45_pma_read_abilities() add a function to dynamically
detect the abilities of a Clause 22 PHY. This is mainly copied from
genphy_config_init().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c
include/linux/phy.h