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