commit | 321beec5047af83db90c88114b7e664b156f49fe | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Mon Nov 16 23:36:46 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 17 15:25:44 2015 -0500 |
tree | b8d964dbcca37c2b52daa42881fab50b4c0b3d48 | |
parent | 819ec8e1f349f73bdf65bf33a364538e59007a9a [diff] |
net: phy: Use interrupts when available in NOLINK state The NOLINK state will poll the phy once a second to see if the link has come up. If the phy has an interrupt line, this polling can be skipped, since the phy should interrupt when the link returns. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>