From: Vladislav Zolotarov Date: Thu, 21 Jul 2011 07:58:54 +0000 (+0000) Subject: bnx2x: Broken self-test in SF mode on 578xx X-Git-Tag: v3.1-rc1~316^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7961689586d30a34c10b18ac95ba1cd72cefe725;p=pandora-kernel.git bnx2x: Broken self-test in SF mode on 578xx This patch fixes both the failure in the self-test on 578xx and a hole in a parity recovery flow that this failure has discovered: - internal 'pending' state in a VLAN_MAC object wasn't been cleared when the object state change was called with DRV_ONLY flag, which in particular happens when a parity error happens during the self-test. - bp->sp_state wasn't cleared in the similar circumstances as described above. Signed-off-by: Vladislav Zolotarov Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed