diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2009-11-20 23:23:34 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-21 19:33:52 (GMT) |
commit | 7ea9655f8a4ccefcd8fdea7eb4fc5dab98e1a7ba (patch) | |
tree | e7334067ecf1177be7fcf125e787f04820ea7a81 /drivers/net/e1000e/phy.c | |
parent | a68ea775ad24ff403437c967628d2b9ce531ce48 (diff) | |
download | linux-fsl-qoriq-7ea9655f8a4ccefcd8fdea7eb4fc5dab98e1a7ba.tar.xz |
e1000e: link reporting problems
Copper links with WoL or management enabled (any condition which prevents
the phy from being powered down when the interface is taken down) were
always reporting link-up when the interface had been taken down. This
is because when the interface is taken down (ifconfig ethx down),
interrupts are disabled. With no interrupts, there is no LSC interrupt,
which is normally required to set "get_link_status", which instructs the
driver to query the device for link state. The fix is to force
get_link_status to true if the interface is not up.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/phy.c')
0 files changed, 0 insertions, 0 deletions