e1000e: Fix for offline diag test failure at first call
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Fri, 15 Oct 2010 17:35:31 +0000 (17:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Oct 2010 14:54:30 +0000 (07:54 -0700)
commitc6ce3854f098e1307ecd3bde07903d65fb14a9cb
tree5d53aecfa96574bea440747be4d0d68339dbf5f3
parenta7714338aa9332e569b38c7643dc4a7bb37a0ff5
e1000e: Fix for offline diag test failure at first call

Move link test call to later in the offline sequence, move the
restore settings block to afterwards and add another reset to ensure
the hardware is in a known state afterwards.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ethtool.c