commit | dcc7e3a6a2a2464cf96dee329f7c58fe8c230d97 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Fri Aug 26 09:45:40 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Aug 28 17:08:27 2011 -0400 |
tree | 499e2bac1150905c0e0da9b7711cc9d373137c6b | |
parent | dc219a2e4812eecdc5438d2a0e2434b03d3efbf2 [diff] |
cnic: Add timeout for ramrod replies. 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>