diff options
Diffstat (limited to 'drivers/ide/ide-floppy.c')
-rw-r--r-- | drivers/ide/ide-floppy.c | 14 |
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. */ | ||
82 | enum { | ||
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 |