diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2013-03-03 16:48:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-06 02:47:06 -0500 |
commit | 66d29cbc59433ba538922a9e958495156b31b83b (patch) | |
tree | 50deb9e367290d70d12d79935c3ec2acd6475cb4 /net/mac80211 | |
parent | fa2b04f4502d74659e4e4b1294c6d88e08ece032 (diff) |
benet: Wait f/w POST until timeout
While PCI card faces EEH errors, reset (usually hot reset) is
expected to recover from the EEH errors. After EEH core finishes
the reset, the driver callback (be_eeh_reset) is called and wait
the firmware to complete POST successfully. The original code would
return with error once detecting failure during POST stage. That
seems not enough.
The patch forces the driver (be_eeh_reset) to wait the firmware
completes POST until timeout, instead of returning error upon
detection POST failure immediately. Also, it would improve the
reliability of the EEH funtionality of the driver.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Acked-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions