diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-09-18 14:42:16 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-05-05 18:42:38 +0100 |
commit | 4f7ddbb0ec3b2ca375c875e99e121b60e69ded72 (patch) | |
tree | 3943f453825aac6c8b9043d0c64b3c57a6d44dea /scripts/extract-cert.c | |
parent | 85fee55810c6752c37a8a12b948a951ec8e4ff89 (diff) |
phy: provide a hook for link up/link down events
Sometimes, we need to do additional work between the PHY coming up and
marking the carrier present - for example, we may need to wait for the
PHY to MAC link to finish negotiation. This changes phylib to provide
a notification function pointer which avoids the built-in
netif_carrier_on() and netif_carrier_off() functions.
Standard ->adjust_link functionality is provided by hooking a helper
into the new ->phy_link_change method.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'scripts/extract-cert.c')
0 files changed, 0 insertions, 0 deletions