From: Emil Tantilov Date: Mon, 14 Feb 2011 08:45:13 +0000 (+0000) Subject: ixgbe: Add ability to double reset on failure to clear master enable X-Git-Tag: v2.6.39-rc1~468^2~170^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4297dc2f49d46d5452a948210be44442236e685;p=pandora-kernel.git ixgbe: Add ability to double reset on failure to clear master enable Double resets are required for recovery from certain error conditions. Between resets, it is necessary to stall to allow time for any pending HW events to complete. We use 1usec since that is what is needed for ixgbe_disable_pcie_master(). The second reset then clears out any effects of those events. Signed-off-by: Emil Tantilov Tested-by: Stephen Ko Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed