From: Emil Tantilov Date: Sat, 27 Aug 2011 07:18:37 +0000 (+0000) Subject: ixgbe: prevent link checks while resetting X-Git-Tag: v3.2-rc1~129^2~156 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7edebf9a6aac07e2ebb3901b60672293a7139ad0;p=pandora-kernel.git ixgbe: prevent link checks while resetting It some situations the driver sets __IXGBE_RESETTING and then __IXGBE_DOWN flags. It is possible a link check may sneak in between. This patch adds check for both flags. The idea is to reduce register reads while the PHY is resetting. Signed-off-by: Emil Tantilov Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed