diff options
author | Zach Brown <zach.brown@ni.com> | 2016-10-17 10:49:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-18 11:56:30 -0400 |
commit | 61a179657f1d00e45697de20067d5d7b3724eb91 (patch) | |
tree | b2a8ef281d8f489be8630cc8256e40359ad85615 /kernel | |
parent | 0e0f27dd65dd7403d41d72a8efafe388bbb36f84 (diff) | |
download | blackbird-op-linux-61a179657f1d00e45697de20067d5d7b3724eb91.tar.gz blackbird-op-linux-61a179657f1d00e45697de20067d5d7b3724eb91.zip |
net: phy: Encapsulate actions performed during link state changes into function phy_adjust_link
During phy state machine state transitions some set of actions should
occur whenever the link state changes. These actions should be
encapsulated into a single function
This patch adds the phy_adjust_link function, which is called whenever
phydev->adjust_link would have been called before. Actions that should
occur whenever the phy link is adjusted can now be added to the
phy_adjust_link function.
Signed-off-by: Zach Brown <zach.brown@ni.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions