aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-tape.c
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@googlemail.com>2008-04-17 18:46:27 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-17 18:46:27 -0400
commiteaec3e7ded9dbc88bad393c076b65f4b7b11d30d (patch)
tree360c145015b4afd5174676cc2b6ac7225ff0896f /drivers/ide/ide-tape.c
parentc2b2b29361dde5f1d9169a487c3021b14cf36518 (diff)
ide: use generic ATAPI packet command flags in ide-{floppy,tape}
Signed-off-by: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r--drivers/ide/ide-tape.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 3f9dcca6f092..f43fd070f1b6 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -181,22 +181,6 @@ struct idetape_bh {
181 char *b_data; 181 char *b_data;
182}; 182};
183 183
184/* Packet command flag bits. */
185enum {
186 /* Set when an error is considered normal - We won't retry */
187 PC_FLAG_ABORT = (1 << 0),
188 /* 1 When polling for DSC on a media access command */
189 PC_FLAG_WAIT_FOR_DSC = (1 << 1),
190 /* 1 when we prefer to use DMA if possible */
191 PC_FLAG_DMA_RECOMMENDED = (1 << 2),
192 /* 1 while DMA in progress */
193 PC_FLAG_DMA_IN_PROGRESS = (1 << 3),
194 /* 1 when encountered problem during DMA */
195 PC_FLAG_DMA_ERROR = (1 << 4),
196 /* Data direction */
197 PC_FLAG_WRITING = (1 << 5),
198};
199
200/* Tape door status */ 184/* Tape door status */
201#define DOOR_UNLOCKED 0 185#define DOOR_UNLOCKED 0
202#define DOOR_LOCKED 1 186#define DOOR_LOCKED 1