Commit a17ceec
net: phylink: add phylink_link_is_up() helper
Add a helper to determine whether the link is up or down. Currently
this is only used in one location, but becomes necessary to test
when reconfiguring EEE.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/E1tYADl-0014Ph-EV@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent a00e0d3 commit a17ceec
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1651 | 1651 | | |
1652 | 1652 | | |
1653 | 1653 | | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
1654 | 1659 | | |
1655 | 1660 | | |
1656 | 1661 | | |
1657 | 1662 | | |
1658 | | - | |
1659 | 1663 | | |
1660 | 1664 | | |
1661 | 1665 | | |
1662 | 1666 | | |
1663 | 1667 | | |
1664 | | - | |
1665 | | - | |
1666 | | - | |
1667 | | - | |
| 1668 | + | |
1668 | 1669 | | |
1669 | 1670 | | |
1670 | 1671 | | |
| |||
0 commit comments