diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 921cf717f22a..0c1b0aaa2865 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -417,36 +417,6 @@ typedef union { | |||
417 | } atapi_ireason_t; | 417 | } atapi_ireason_t; |
418 | 418 | ||
419 | /* | 419 | /* |
420 | * The ATAPI error register. | ||
421 | * | ||
422 | * ili : Illegal Length Indication | ||
423 | * eom : End Of Media Detected | ||
424 | * abrt : Aborted command - As defined by ATA | ||
425 | * mcr : Media Change Requested - As defined by ATA | ||
426 | * sense_key : Sense key of the last failed packet command | ||
427 | */ | ||
428 | typedef union { | ||
429 | unsigned all :8; | ||
430 | struct { | ||
431 | #if defined(__LITTLE_ENDIAN_BITFIELD) | ||
432 | unsigned ili :1; | ||
433 | unsigned eom :1; | ||
434 | unsigned abrt :1; | ||
435 | unsigned mcr :1; | ||
436 | unsigned sense_key :4; | ||
437 | #elif defined(__BIG_ENDIAN_BITFIELD) | ||
438 | unsigned sense_key :4; | ||
439 | unsigned mcr :1; | ||
440 | unsigned abrt :1; | ||
441 | unsigned eom :1; | ||
442 | unsigned ili :1; | ||
443 | #else | ||
444 | #error "Please fix <asm/byteorder.h>" | ||
445 | #endif | ||
446 | } b; | ||
447 | } atapi_error_t; | ||
448 | |||
449 | /* | ||
450 | * Status returned from various ide_ functions | 420 | * Status returned from various ide_ functions |
451 | */ | 421 | */ |
452 | typedef enum { | 422 | typedef enum { |