From: Bruce Allan Date: Fri, 20 Nov 2009 23:23:34 +0000 (+0000) Subject: e1000e: link reporting problems X-Git-Tag: v2.6.33-rc1~388^2~260 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ea9655f8a4ccefcd8fdea7eb4fc5dab98e1a7ba;p=pandora-kernel.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed