summaryrefslogtreecommitdiff
path: root/drivers/net/ifb.c
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 /drivers/net/ifb.c
parent0e0f27dd65dd7403d41d72a8efafe388bbb36f84 (diff)
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 'drivers/net/ifb.c')
0 files changed, 0 insertions, 0 deletions