aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:12 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:12 -0500
commit0e38a66a1e69821ab57a06d5a7b11f0df9275bf4 (patch)
treee287752203edfe30f3bdc5966eb8f4c91b508c45 /include/linux/ide.h
parent22c525b976778cce5bb6f8fdcc70046168c54b1a (diff)
ide: remove atapi_error_t (take 2)
Remove atapi_error_t. While at it: * replace 'HWIF(drive)' by 'drive->hwif' v2: * Add {ILI,EOM,LFS}_ERR defines to <linux/hdreg.h>. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h30
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 */
428typedef 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 */
452typedef enum { 422typedef enum {