aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
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