[BNX2]: Improve handshake with firmware
authorMichael Chan <mchan@broadcom.com>
Tue, 24 Jan 2006 00:07:10 +0000 (16:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2006 00:07:10 +0000 (16:07 -0800)
commitb090ae2b59f3db57732340c6af3beceec8d6c148
treed776af0e28bdbce20be5589c26ceab644778e368
parente29054f92d7d575631691865c1b95bee5bc974cc
[BNX2]: Improve handshake with firmware

Improve handshake with bootcode with the following changes:

1. Increase timeout to 100msec and use msleep instead of udelay.

2. Add more error checking for timeouts and errors.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c
drivers/net/bnx2.h