From: Bruce Allan Date: Fri, 13 May 2011 07:20:03 +0000 (+0000) Subject: e1000e: do not schedule the Tx queue until ready X-Git-Tag: v3.1-rc1~316^2~450^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=400484fa65ead1bbc3e86ea79e7505182a31bce1;p=pandora-kernel.git e1000e: do not schedule the Tx queue until ready Start the Tx queue when the interface is brought up in e1000e_up() but do not schedule the queue until link is up as detected in the watchdog task which sets netif_carrier_on. Also flush the descriptors and clean the Tx and Rx rings before resetting the hardware when bringing the interface down otherwise there is a small window where the watchdog task can be triggered with netif_carrier_off and the Tx ring not yet empty which causes an additional and unnecessary reset. Signed-off-by: Bruce Allan Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed