aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-floppy.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-floppy.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-floppy.c')
-rw-r--r--drivers/ide/ide-floppy.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c
index bf1ef60a5a07..5f133dfb541c 100644
--- a/drivers/ide/ide-floppy.c
+++ b/drivers/ide/ide-floppy.c
@@ -78,20 +78,6 @@
78 */ 78 */
79#define IDEFLOPPY_PC_STACK (10 + IDEFLOPPY_MAX_PC_RETRIES) 79#define IDEFLOPPY_PC_STACK (10 + IDEFLOPPY_MAX_PC_RETRIES)
80 80
81/* Packet command flag bits. */
82enum {
83 /* 1 when we prefer to use DMA if possible */
84 PC_FLAG_DMA_RECOMMENDED = (1 << 0),
85 /* 1 while DMA in progress */
86 PC_FLAG_DMA_IN_PROGRESS = (1 << 1),
87 /* 1 when encountered problem during DMA */
88 PC_FLAG_DMA_ERROR = (1 << 2),
89 /* Data direction */
90 PC_FLAG_WRITING = (1 << 3),
91 /* Suppress error reporting */
92 PC_FLAG_SUPPRESS_ERROR = (1 << 4),
93};
94
95/* format capacities descriptor codes */ 81/* format capacities descriptor codes */
96#define CAPACITY_INVALID 0x00 82#define CAPACITY_INVALID 0x00
97#define CAPACITY_UNFORMATTED 0x01 83#define CAPACITY_UNFORMATTED 0x01