diff options
author | Klaus-Dieter Wacket <kdwacker@de.ibm.com> | 2009-05-19 17:38:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-20 20:36:51 -0400 |
commit | 9f29f6de56462a363d3cc1d5f000961d622c5888 (patch) | |
tree | 7b1a5f9267671a228d94c49ee96caa7ced0fc90f /drivers/s390/net | |
parent | b91398008cae916c528d907f5d7a9ed54f35b4e9 (diff) |
qeth: Clear SBALF15 in any case for output buffers.
Function qeth_clear_output_buffer for HiperSockets may not clear
all 16 SBALEs, but only the used ones. The error flag in SBALF15
has to be cleared in any case.
Signed-off-by: Klaus-Dieter Wacker <kdwacker@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')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 63c9c05d6147..2994aa1ed466 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c | |||
@@ -952,6 +952,7 @@ static void qeth_clear_output_buffer(struct qeth_qdio_out_q *queue, | |||
952 | buf->buffer->element[i].addr = NULL; | 952 | buf->buffer->element[i].addr = NULL; |
953 | buf->buffer->element[i].flags = 0; | 953 | buf->buffer->element[i].flags = 0; |
954 | } | 954 | } |
955 | buf->buffer->element[15].flags = 0; | ||
955 | buf->next_element_to_fill = 0; | 956 | buf->next_element_to_fill = 0; |
956 | atomic_set(&buf->state, QETH_QDIO_BUF_EMPTY); | 957 | atomic_set(&buf->state, QETH_QDIO_BUF_EMPTY); |
957 | } | 958 | } |