diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2010-07-22 19:15:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-23 15:36:23 -0400 |
commit | 908abbb5773213288c8ed033c3313440b31cfbf3 (patch) | |
tree | 0636237a9398ff6939708cc68f53dacf12d2d5aa /drivers/s390/net/qeth_core.h | |
parent | 9dc48ccc68b9dfc01c2beee2d4317fb3df3fdce9 (diff) |
qeth: avoid loop if ipa command response is missing
If qeth issues an ipa command, but for some reasons the response
never comes back, qeth reaches a timeout.
Reset the irq_pending flag of the write channel in timeout handling
code and trigger a recovery to avoid endless looping for the following
ipa command.
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r-- | drivers/s390/net/qeth_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index 41ddf86c3421..d1257768be90 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h | |||
@@ -740,6 +740,7 @@ struct qeth_card { | |||
740 | struct qeth_qdio_info qdio; | 740 | struct qeth_qdio_info qdio; |
741 | struct qeth_perf_stats perf_stats; | 741 | struct qeth_perf_stats perf_stats; |
742 | int use_hard_stop; | 742 | int use_hard_stop; |
743 | int read_or_write_problem; | ||
743 | struct qeth_osn_info osn_info; | 744 | struct qeth_osn_info osn_info; |
744 | struct qeth_discipline discipline; | 745 | struct qeth_discipline discipline; |
745 | atomic_t force_alloc_skb; | 746 | atomic_t force_alloc_skb; |