aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:11 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:11 -0500
commit22c525b976778cce5bb6f8fdcc70046168c54b1a (patch)
tree40ab6ef79aa8e059d55e8c55d19fdc4dfe7fdce3 /include/linux/ide.h
parent6a2144146aa2e0eb60e48ba73ac0e1c51346edf6 (diff)
ide: remove ata_status_t and atapi_status_t
Remove ata_status_t (unused) and atapi_status_t. While at it: * replace 'HWIF(drive)' by 'drive->hwif' (or just 'hwif' where possible) 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.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index c6ffc2028fb5..921cf717f22a 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -366,50 +366,6 @@ typedef union {
366} select_t, ata_select_t; 366} select_t, ata_select_t;
367 367
368/* 368/*
369 * The ATA-IDE Status Register.
370 * The ATAPI Status Register.
371 *
372 * check : Error occurred
373 * idx : Index Error
374 * corr : Correctable error occurred
375 * drq : Data is request by the device
376 * dsc : Disk Seek Complete : ata
377 * : Media access command finished : atapi
378 * df : Device Fault : ata
379 * : Reserved : atapi
380 * drdy : Ready, Command Mode Capable : ata
381 * : Ignored for ATAPI commands : atapi
382 * bsy : Disk is Busy
383 * : The device has access to the command block
384 */
385typedef union {
386 unsigned all :8;
387 struct {
388#if defined(__LITTLE_ENDIAN_BITFIELD)
389 unsigned check :1;
390 unsigned idx :1;
391 unsigned corr :1;
392 unsigned drq :1;
393 unsigned dsc :1;
394 unsigned df :1;
395 unsigned drdy :1;
396 unsigned bsy :1;
397#elif defined(__BIG_ENDIAN_BITFIELD)
398 unsigned bsy :1;
399 unsigned drdy :1;
400 unsigned df :1;
401 unsigned dsc :1;
402 unsigned drq :1;
403 unsigned corr :1;
404 unsigned idx :1;
405 unsigned check :1;
406#else
407#error "Please fix <asm/byteorder.h>"
408#endif
409 } b;
410} ata_status_t, atapi_status_t;
411
412/*
413 * ATAPI Feature Register 369 * ATAPI Feature Register
414 * 370 *
415 * dma : Using DMA or PIO 371 * dma : Using DMA or PIO