diff options
Diffstat (limited to 'drivers/s390/char/tape.h')
| -rw-r--r-- | drivers/s390/char/tape.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/s390/char/tape.h b/drivers/s390/char/tape.h index d04e6c2c3cc1..01d865d93791 100644 --- a/drivers/s390/char/tape.h +++ b/drivers/s390/char/tape.h | |||
| @@ -3,10 +3,11 @@ | |||
| 3 | * tape device driver for 3480/3490E/3590 tapes. | 3 | * tape device driver for 3480/3490E/3590 tapes. |
| 4 | * | 4 | * |
| 5 | * S390 and zSeries version | 5 | * S390 and zSeries version |
| 6 | * Copyright (C) 2001,2002 IBM Deutschland Entwicklung GmbH, IBM Corporation | 6 | * Copyright (C) 2001,2005 IBM Deutschland Entwicklung GmbH, IBM Corporation |
| 7 | * Author(s): Carsten Otte <cotte@de.ibm.com> | 7 | * Author(s): Carsten Otte <cotte@de.ibm.com> |
| 8 | * Tuan Ngo-Anh <ngoanh@de.ibm.com> | 8 | * Tuan Ngo-Anh <ngoanh@de.ibm.com> |
| 9 | * Martin Schwidefsky <schwidefsky@de.ibm.com> | 9 | * Martin Schwidefsky <schwidefsky@de.ibm.com> |
| 10 | * Stefan Bader <shbader@de.ibm.com> | ||
| 10 | */ | 11 | */ |
| 11 | 12 | ||
| 12 | #ifndef _TAPE_H | 13 | #ifndef _TAPE_H |
| @@ -111,6 +112,7 @@ enum tape_request_status { | |||
| 111 | TAPE_REQUEST_QUEUED, /* request is queued to be processed */ | 112 | TAPE_REQUEST_QUEUED, /* request is queued to be processed */ |
| 112 | TAPE_REQUEST_IN_IO, /* request is currently in IO */ | 113 | TAPE_REQUEST_IN_IO, /* request is currently in IO */ |
| 113 | TAPE_REQUEST_DONE, /* request is completed. */ | 114 | TAPE_REQUEST_DONE, /* request is completed. */ |
| 115 | TAPE_REQUEST_CANCEL, /* request should be canceled. */ | ||
| 114 | }; | 116 | }; |
| 115 | 117 | ||
| 116 | /* Tape CCW request */ | 118 | /* Tape CCW request */ |
| @@ -237,6 +239,9 @@ struct tape_device { | |||
| 237 | /* Block dev frontend data */ | 239 | /* Block dev frontend data */ |
| 238 | struct tape_blk_data blk_data; | 240 | struct tape_blk_data blk_data; |
| 239 | #endif | 241 | #endif |
| 242 | |||
| 243 | /* Function to start or stop the next request later. */ | ||
| 244 | struct work_struct tape_dnr; | ||
| 240 | }; | 245 | }; |
| 241 | 246 | ||
| 242 | /* Externals from tape_core.c */ | 247 | /* Externals from tape_core.c */ |
