aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:45 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:45 -0500
commitb034304a28d15f019ca914e954c3de20df28065e (patch)
treea71c782190f385b9f17ca8b01f061455ebcf85bd /include/linux
parentb60acab1e74734fc60ee5efd281ecff93f8e993b (diff)
ide: convert ->straight8 field in ide_hwif_t to bit flag
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 7f53c6c6df7a..3b31da892002 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -488,7 +488,6 @@ typedef struct hwif_s {
488 u8 major; /* our major number */ 488 u8 major; /* our major number */
489 u8 index; /* 0 for ide0; 1 for ide1; ... */ 489 u8 index; /* 0 for ide0; 1 for ide1; ... */
490 u8 channel; /* for dual-port chips: 0=primary, 1=secondary */ 490 u8 channel; /* for dual-port chips: 0=primary, 1=secondary */
491 u8 straight8; /* Alan's straight 8 check */
492 u8 bus_state; /* power state of the IDE bus */ 491 u8 bus_state; /* power state of the IDE bus */
493 492
494 u32 host_flags; 493 u32 host_flags;
@@ -609,6 +608,7 @@ typedef struct hwif_s {
609 unsigned reset : 1; /* reset after probe */ 608 unsigned reset : 1; /* reset after probe */
610 unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */ 609 unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */
611 unsigned mmio : 1; /* host uses MMIO */ 610 unsigned mmio : 1; /* host uses MMIO */
611 unsigned straight8 : 1; /* Alan's straight 8 check */
612 612
613 struct device gendev; 613 struct device gendev;
614 struct completion gendev_rel_comp; /* To deal with device release() */ 614 struct completion gendev_rel_comp; /* To deal with device release() */