patch-2.2.17 linux/drivers/s390/block/dasd_eckd_erp.c
Next file: linux/drivers/s390/block/dasd_erp.c
Previous file: linux/drivers/s390/block/dasd_eckd.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Sep 4 18:39:20 2000
- Orig file:
v2.2.16/drivers/s390/block/dasd_eckd_erp.c
- Orig date:
Mon Sep 4 18:37:42 2000
diff -u --recursive --new-file v2.2.16/drivers/s390/block/dasd_eckd_erp.c linux/drivers/s390/block/dasd_eckd_erp.c
@@ -5,7 +5,7 @@
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 2000
*/
-#include <linux/dasd.h>
+#include <asm/dasd.h>
#include "dasd_erp.h"
#define PRINTK_HEADER "dasd_erp(eckd)"
@@ -14,16 +14,4 @@
dasd_eckd_erp_examine (cqr_t * cqr, devstat_t * stat)
{
- if (stat->cstat == 0x00 &&
- stat->dstat == (DEV_STAT_CHN_END | DEV_STAT_DEV_END))
- return dasd_era_none;
-
- switch (dasd_info[cqr->devindex]->info.sid_data.cu_model) {
- case 0x3990:
- return dasd_3990_erp_examine (cqr, stat);
- case 0x9343:
- return dasd_9343_erp_examine (cqr, stat);
- default:
- return dasd_era_recover;
- }
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)