qeth: Recognize return codes of ccw_device_set_online
authorUrsula Braun <ursula.braun@de.ibm.com>
Thu, 12 Nov 2009 00:11:43 +0000 (00:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2009 10:42:07 +0000 (02:42 -0800)
commitaa90922479513db0d080239324d0d04701418ba5
tree6399b72c47c9826049a62d8217f1613f729c47dd
parentf20b04597b9f75dce16c898abb487eff06ddf677
qeth: Recognize return codes of ccw_device_set_online

Setting a qeth device online requires to call function
ccw_device_set_online() for read-, write-, and data-subchannel.
Failures should be detected immediately without an attempt to
invoke follow-on activity qeth_qdio_clear_card().,

In addition, ccw_device_set_online calls are consolidated in
qeth_core_main.c only.

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>
drivers/s390/net/qeth_core_main.c
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c