summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorZach Brown <zach.brown@ni.com>2016-10-17 10:49:53 -0500
committerDavid S. Miller <davem@davemloft.net>2016-10-18 11:56:30 -0400
commit61a179657f1d00e45697de20067d5d7b3724eb91 (patch)
treeb2a8ef281d8f489be8630cc8256e40359ad85615 /kernel
parent0e0f27dd65dd7403d41d72a8efafe388bbb36f84 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud