]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: bad state after running ethtool diagnostics with AMT enabled
authorBruce Allan <bruce.w.allan@intel.com>
Mon, 10 May 2010 14:59:31 +0000 (14:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 May 2010 06:31:09 +0000 (23:31 -0700)
commit6a12174c8024e36b27adc66575afe146104c57bd
treebf0cd95d65cdeb4c9fbc61d6a7cce0032fcad691
parent14f213b200598d5d420f7be104099a902a2b330a
e1000e: bad state after running ethtool diagnostics with AMT enabled

When running ethtool online diagnostics with no open interface, there is a
short period of time where the driver relinquishes control of the adapter
during which time AMT (manageability firmware) can put the adapter into an
unknown state resulting in such things as link test failure, hardware hang,
reporting an incorrect link speed, etc.  Resetting the adapter during an
open() resolves this by putting the adapter into a quiescent state.

Signed-off-by: Bruce Allan <bruce.w.allan@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
drivers/net/e1000e/netdev.c