summaryrefslogtreecommitdiffstats
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorZach Brown2016-10-17 17:49:53 +0200
committerDavid S. Miller2016-10-18 17:56:30 +0200
commit61a179657f1d00e45697de20067d5d7b3724eb91 (patch)
treeb2a8ef281d8f489be8630cc8256e40359ad85615 /include/linux/phy.h
parentskge: Rename LED_OFF and LED_ON in marvel skge driver to avoid conflicts with... (diff)
downloadkernel-qcow2-linux-61a179657f1d00e45697de20067d5d7b3724eb91.tar.gz
kernel-qcow2-linux-61a179657f1d00e45697de20067d5d7b3724eb91.tar.xz
kernel-qcow2-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 'include/linux/phy.h')
0 files changed, 0 insertions, 0 deletions