Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * File...........: linux/drivers/s390/block/dasd_3990_erp.c | |
3 | * Author(s)......: Horst Hummel <Horst.Hummel@de.ibm.com> | |
4 | * Holger Smolinski <Holger.Smolinski@de.ibm.com> | |
5 | * Bugreports.to..: <Linux390@de.ibm.com> | |
6 | * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 2000, 2001 | |
7 | * | |
8 | * $Revision: 1.36 $ | |
9 | */ | |
10 | ||
11 | #include <linux/timer.h> | |
12 | #include <linux/slab.h> | |
13 | #include <asm/idals.h> | |
14 | #include <asm/todclk.h> | |
15 | ||
16 | #define PRINTK_HEADER "dasd_erp(3990): " | |
17 | ||
18 | #include "dasd_int.h" | |
19 | #include "dasd_eckd.h" | |
20 | ||
21 | ||
22 | struct DCTL_data { | |
23 | unsigned char subcommand; /* e.g Inhibit Write, Enable Write,... */ | |
24 | unsigned char modifier; /* Subcommand modifier */ | |
25 | unsigned short res; /* reserved */ | |
26 | } __attribute__ ((packed)); | |
27 | ||
28 | /* | |
29 | ***************************************************************************** | |
30 | * SECTION ERP EXAMINATION | |
31 | ***************************************************************************** | |
32 | */ | |
33 | ||
34 | /* | |
35 | * DASD_3990_ERP_EXAMINE_24 | |
36 | * | |
37 | * DESCRIPTION | |
38 | * Checks only for fatal (unrecoverable) error. | |
39 | * A detailed examination of the sense data is done later outside | |
40 | * the interrupt handler. | |
41 | * | |
42 | * Each bit configuration leading to an action code 2 (Exit with | |
43 | * programming error or unusual condition indication) |