Merge branch 'from-linus' into upstream
[linux-2.6] / drivers / s390 / block / dasd_9343_erp.c
1 /*
2  * File...........: linux/drivers/s390/block/dasd_9345_erp.c
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
9 #define PRINTK_HEADER "dasd_erp(9343)"
10
11 #include "dasd_int.h"
12
13 dasd_era_t
14 dasd_9343_erp_examine(struct dasd_ccw_req * cqr, struct irb * irb)
15 {
16         if (irb->scsw.cstat == 0x00 &&
17             irb->scsw.dstat == (DEV_STAT_CHN_END | DEV_STAT_DEV_END))
18                 return dasd_era_none;
19
20         return dasd_era_recover;
21 }