patch-2.4.4 linux/drivers/s390/block/dasd_3990_erp.h

Next file: linux/drivers/s390/block/dasd_9343_erp.h
Previous file: linux/drivers/s390/block/dasd_3990_erp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/s390/block/dasd_3990_erp.h linux/drivers/s390/block/dasd_3990_erp.h
@@ -1,17 +1,28 @@
-ccw_req_t *dasd_3990_erp_com_rej (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_int_req (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_bus_out (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_equip_check (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_data_check (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_overrun (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_inv_format (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_EOC (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_env_data (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_no_rec (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_file_prot (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_perm (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_first_log (ccw_req_t *, devstat_t *);
-ccw_req_t *dasd_3990_erp_add_erp (ccw_req_t *, devstat_t *);	/* tbd - delete */
+/* 
+ * File...........: linux/drivers/s390/block/dasd_3990_erp.h
+ * Author(s)......: Horst Hummel <Horst Hummel@de.ibm.com>
+ * Bugreports.to..: <Linux390@de.ibm.com>
+ * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 2000
+ *
+ * History of changes (starts July 2000)
+ */
+
+#ifndef DASD_3990_ERP_H
+#define DASD_3990_ERP_H
+
+
+dasd_era_t dasd_3990_erp_examine (ccw_req_t *, devstat_t *);
 
 ccw_req_t *dasd_3990_erp_action (ccw_req_t *);
 ccw_req_t *dasd_2105_erp_action (ccw_req_t *);
+
+void dasd_3990_erp_restart_queue (unsigned long);
+
+typedef struct DCTL_data_t {
+	unsigned char  subcommand;  /* e.g Inhibit Write, Enable Write,... */
+	unsigned char  modifier;    /* Subcommand modifier                 */
+	unsigned short res;	    /* reserved */
+} __attribute__ ((packed)) DCTL_data_t;
+
+
+#endif /* DASD_3990_ERP_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)