]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[BNX2]: Add missing wait in bnx2_init_5709_context().
authorMichael Chan <mchan@broadcom.com>
Tue, 5 Jun 2007 04:22:24 +0000 (21:22 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 7 Jun 2007 20:38:37 +0000 (13:38 -0700)
commit641bdcd56c8bb2110a31da846b2752b11a644050
tree3bacb70bde63e20d2a7003bed4aad9020401be9c
parent7947b20ebae785ba25154aa1a9a00a98a22de75a
[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 <mchan@broadcom.com>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c