1 /*
2  * File...........: linux/drivers/s390/block/dasd_9345_erp.h
3  * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com>
4  * Bugreports.to..: <Linux390@de.ibm.com>
5  * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 2000
6  */
7 
8 #include <asm/ccwcache.h>
9 #include "dasd_int.h"
10 
11 #ifdef PRINTK_HEADER
12 #undef PRINTK_HEADER
13 #define PRINTK_HEADER "dasd_erp(9343)"
14 #endif				/* PRINTK_HEADER */
15 
dasd_9343_erp_examine(ccw_req_t * cqr,devstat_t * stat)16 dasd_era_t dasd_9343_erp_examine (ccw_req_t * cqr, devstat_t * stat)
17 {
18 	if (stat->cstat == 0x00 &&
19 	    stat->dstat == (DEV_STAT_CHN_END | DEV_STAT_DEV_END))
20 		    return dasd_era_none;
21 	return dasd_era_recover;
22 }
23