patch-2.4.11-dontuse linux/drivers/s390/block/dasd_3990_erp.c
Next file: linux/drivers/s390/block/dasd_diag.c
Previous file: linux/drivers/s390/block/dasd.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sun Sep 30 12:26:07 2001
- Orig file:
v2.4.10/linux/drivers/s390/block/dasd_3990_erp.c
- Orig date:
Sun Aug 12 13:28:00 2001
diff -u --recursive --new-file v2.4.10/linux/drivers/s390/block/dasd_3990_erp.c linux/drivers/s390/block/dasd_3990_erp.c
@@ -1724,8 +1724,16 @@
dasd_3990_handle_env_data (erp,
sense);
- erp = dasd_3990_erp_action_4 (erp,
- sense);
+ /* don't retry on disabled interface */
+ if (sense[7] != 0x0F) {
+
+ erp = dasd_3990_erp_action_4 (erp,
+ sense);
+ } else {
+
+ erp = dasd_3990_erp_cleanup (erp,
+ CQR_STATUS_IN_IO);
+ }
return erp;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)