From: Michael Chan Date: Tue, 5 Jun 2007 04:22:24 +0000 (-0700) Subject: [BNX2]: Add missing wait in bnx2_init_5709_context(). X-Git-Tag: v2.6.22-rc5~95^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=641bdcd56c8bb2110a31da846b2752b11a644050;p=pandora-kernel.git [BNX2]: Add missing wait in bnx2_init_5709_context(). For correctness, we need to wait for the MEM_INIT bit to be cleared in the BNX2_CTX_COMMAND register before proceeding. [Added return -EBUSY when the MEM_INIT bit doesn't clear, suggested by Jeff Garzik.] Signed-off-by: Michael Chan Acked-by: Jeff Garzik Signed-off-by: David S. Miller --- Reading git-diff-tree failed