From: Emil Tantilov Date: Wed, 16 Feb 2011 01:38:08 +0000 (+0000) Subject: ixgbe: Check link wants report current link state X-Git-Tag: v2.6.39-rc1~468^2~170^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48de36c5656113ce6cfe4207da2f90f46917e53d;p=pandora-kernel.git ixgbe: Check link wants report current link state Currently check link reports the link state as down, if at any time the link had previously gone down since the last time the LINKS register was read. This does not accurately reflect the function of the check link call, which should be to return the CURRENT link state. Code now reads the LINKS registers twice, once to clear the previous and again to get the current value. Signed-off-by: Emil Tantilov Tested-by: Stephen Ko Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed