e1000e: extend timeout for ethtool link test diagnostic
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 25 Feb 2011 06:36:25 +0000 (06:36 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 11 Mar 2011 10:03:35 +0000 (02:03 -0800)
commit5661aeb08edcef6799861f92817f593c1fd7b272
tree1cbf6d455075e98a03fdadf059c696693bcd2cb6
parentd8d5f8aebb857f979fbe9099c9acc2ed486706be
e1000e: extend timeout for ethtool link test diagnostic

With some PHYs supported by this driver, link establishment can take a
little longer when connected to certain switches.  Extend the timeout to
reduce the number of false diagnostic failures, and cleanup a code style
issue in the same function.

Signed-off-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>
drivers/net/e1000e/ethtool.c