patch-2.3.99-pre8 linux/drivers/s390/block/dasd_erp.c
Next file: linux/drivers/s390/block/dasd_erp.h
Previous file: linux/drivers/s390/block/dasd_eckd.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Fri May 12 11:41:44 2000
- Orig file:
v2.3.99-pre7/linux/drivers/s390/block/dasd_erp.c
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.3.99-pre7/linux/drivers/s390/block/dasd_erp.c linux/drivers/s390/block/dasd_erp.c
@@ -0,0 +1,21 @@
+/*
+ * File...........: linux/drivers/s390/block/dasd_erp.c
+ * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com>
+ * Bugreports.to..: <Linux390@de.ibm.com>
+ * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 2000
+ */
+
+#include <asm/irq.h>
+#include <linux/dasd.h>
+#include "dasd_erp.h"
+#include "dasd_types.h"
+
+dasd_era_t
+dasd_erp_examine ( cqr_t * cqr)
+{
+ devstat_t *stat = cqr->dstat ;
+ if ( stat->cstat == 0x00 &&
+ stat->dstat == (DEV_STAT_CHN_END|DEV_STAT_DEV_END ) )
+ return dasd_era_none;
+ return dasd_era_fatal;
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)