cnic: Add timeout for ramrod replies.
authorMichael Chan <mchan@broadcom.com>
Fri, 26 Aug 2011 09:45:40 +0000 (09:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Aug 2011 21:08:27 +0000 (17:08 -0400)
If the bnx2x device has encountered parity errors, the chip will not DMA
any replies.  Using wait_event_timeout() will allow us to make forward
progress and let bnx2x reset the chip.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found