igb: Report link status in ethtool when interface is down
authorNick Nunley <nicholasx.d.nunley@intel.com>
Wed, 17 Feb 2010 01:01:21 +0000 (01:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:21:32 +0000 (13:21 -0800)
commit3145535ac6e4769e587a38a67d888a10f24a7af9
tree5d0d93d0b97bf3aadf7f5b568bf2f1c7e053f84b
parent22939f0606e515799d83e1a29250917f94c8d07b
igb: 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/igb/igb.h
drivers/net/igb/igb_ethtool.c
drivers/net/igb/igb_main.c