diff options
author | Julian Wiedmann | 2019-03-28 16:39:28 +0100 |
---|---|---|
committer | David S. Miller | 2019-03-28 20:57:24 +0100 |
commit | 2e873d100d1418ba0f49163cf46df8e4e792a528 (patch) | |
tree | d1dd0428bfdffd47f629c13d8f6d380427624fb3 /drivers/s390/net/qeth_core.h | |
parent | s390/qeth: use callback to finalize cmd (diff) | |
download | kernel-qcow2-linux-2e873d100d1418ba0f49163cf46df8e4e792a528.tar.gz kernel-qcow2-linux-2e873d100d1418ba0f49163cf46df8e4e792a528.tar.xz kernel-qcow2-linux-2e873d100d1418ba0f49163cf46df8e4e792a528.zip |
s390/qeth: send IDX cmds via qeth_send_control_data()
This converts the IDX code to use qeth_send_control_data(), replacing
a bunch of duplicated IO code and unbounded waits. It also allows the
IDX sequence to benefit from the improved timeout & notify
infrastructure, so that we can eliminate the DOWN -> ACTIVATING -> UP
transition in the channel state machine.
The patch looks rather big, but most of it is a straight-forward
conversion of the old IDX cmd setup & callbacks to the new model.
Signed-off-by: Julian Wiedmann <jwi@linux.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, 0 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index 9495ba74404d..4c3a2db0cf2e 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h @@ -540,7 +540,6 @@ struct qeth_qdio_info { enum qeth_channel_states { CH_STATE_UP, CH_STATE_DOWN, - CH_STATE_ACTIVATING, CH_STATE_HALTED, CH_STATE_STOPPED, CH_STATE_RCD, |