e1000: Report link status in ethtool when interface is down
authorNick Nunley <nicholasx.d.nunley@intel.com>
Wed, 3 Feb 2010 14:49:28 +0000 (14:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 03:39:56 +0000 (19:39 -0800)
commitb548192acaebcb05d6a87d1e94f19835b1a18a8b
treed84ebe0a50cbeba290d01525ec14d3c91f713e24
parent10eec95569513206877769ad9336591c08015cfe
e1000: Report link status in ethtool when interface is down

With this change ethtool will correctly report link status when
the interface is down. Currently ethtool reports the link as not
detected when the interface is down.

Signed-off-by: Nicholas Nunley <nicholasx.d.nunley@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000/e1000.h
drivers/net/e1000/e1000_ethtool.c
drivers/net/e1000/e1000_main.c