commit | 641bdcd56c8bb2110a31da846b2752b11a644050 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Mon Jun 04 21:22:24 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Thu Jun 07 13:38:37 2007 -0700 |
tree | 3bacb70bde63e20d2a7003bed4aad9020401be9c | |
parent | 7947b20ebae785ba25154aa1a9a00a98a22de75a [diff] |
[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>