]> git.karo-electronics.de Git - linux-beck.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)
commit11b08be830078c1cc4af484d0f85c3a010319c97
treebf0cd95d65cdeb4c9fbc61d6a7cce0032fcad691
parent4fe4491fc5578019174d0f02d1ae740fce78deac
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