]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd57193d41206683626ba37e0a95f4cf1c2e088a
tree5d0d93d0b97bf3aadf7f5b568bf2f1c7e053f84b
parent9a757dce82306e2287e4eec52aa8cd16d269e2cd
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