diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:23 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:23 -0500 |
commit | 1b1215d5e954726b142d5408dfd6d7153b3abe8b (patch) | |
tree | 12318a1124d3a3f7cb03e295ff2856e3980eabf7 /drivers/ide/ide-cd.h | |
parent | e59724c7db9afd14827f1b737605f54d47f2d226 (diff) |
ide-cd: remove duplicate sense keys definitions from ide-cd.h
ide-cd.c already uses sense keys definitions from <scsi/scsi.h>.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.h')
-rw-r--r-- | drivers/ide/ide-cd.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h index fc8d6d626b8d..33019cb8c68d 100644 --- a/drivers/ide/ide-cd.h +++ b/drivers/ide/ide-cd.h | |||
@@ -158,23 +158,6 @@ struct cdrom_info { | |||
158 | */ | 158 | */ |
159 | 159 | ||
160 | /* This stuff should be in cdrom.h, since it is now generic... */ | 160 | /* This stuff should be in cdrom.h, since it is now generic... */ |
161 | |||
162 | /* ATAPI sense keys (from table 140 of ATAPI 2.6) */ | ||
163 | #define NO_SENSE 0x00 | ||
164 | #define RECOVERED_ERROR 0x01 | ||
165 | #define NOT_READY 0x02 | ||
166 | #define MEDIUM_ERROR 0x03 | ||
167 | #define HARDWARE_ERROR 0x04 | ||
168 | #define ILLEGAL_REQUEST 0x05 | ||
169 | #define UNIT_ATTENTION 0x06 | ||
170 | #define DATA_PROTECT 0x07 | ||
171 | #define BLANK_CHECK 0x08 | ||
172 | #define ABORTED_COMMAND 0x0b | ||
173 | #define MISCOMPARE 0x0e | ||
174 | |||
175 | |||
176 | |||
177 | /* This stuff should be in cdrom.h, since it is now generic... */ | ||
178 | #if VERBOSE_IDE_CD_ERRORS | 161 | #if VERBOSE_IDE_CD_ERRORS |
179 | 162 | ||
180 | /* The generic packet command opcodes for CD/DVD Logical Units, | 163 | /* The generic packet command opcodes for CD/DVD Logical Units, |