From: Emil Tantilov Date: Tue, 23 Jul 2013 01:57:03 +0000 (+0000) Subject: ixgbe: clear semaphore bits on timeouts X-Git-Tag: v3.12-rc1~132^2~416^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=674c18b2ed65f9db04e5c2e9c9e4af8fa2af0f1b;p=pandora-kernel.git ixgbe: clear semaphore bits on timeouts This patch changes the error code path in ixgbe_acquire_swfw_sync() to deal with cases where acquiring SW semaphore times out. In cases where the SW/FW semaphore bits were set (i.e. due to a crash) the driver will hang on load. With this patch the driver will clear the stuck bits if the semaphore was not acquired in the allotted time. Signed-off-by: Emil Tantilov Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed