aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-02-16 20:40:25 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-02-16 20:40:25 -0500
commit2ad1e558a2305c2b3d5099ee2f4a5929307c20ca (patch)
tree79a530648cc26184c3b2e3933c0ebad614329b5b /include/linux/ide.h
parent0ecdca26e556eae9668ce6de9554757dddb942ef (diff)
ide: convert ide_hwif_t.mmio into flag (v2)
All users of ->mmio == 1 are gone so convert ->mmio into flag. Noticed by Alan Cox. v2: * updated for scc_pata Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-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 4f88fb99a053..579a8521de63 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -772,7 +772,6 @@ typedef struct hwif_s {
772 unsigned int cursg; 772 unsigned int cursg;
773 unsigned int cursg_ofs; 773 unsigned int cursg_ofs;
774 774
775 int mmio; /* hosts iomio (0) or custom (2) select */
776 int rqsize; /* max sectors per request */ 775 int rqsize; /* max sectors per request */
777 int irq; /* our irq number */ 776 int irq; /* our irq number */
778 777
@@ -804,6 +803,7 @@ typedef struct hwif_s {
804 unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */ 803 unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */
805 unsigned no_io_32bit : 1; /* 1 = can not do 32-bit IO ops */ 804 unsigned no_io_32bit : 1; /* 1 = can not do 32-bit IO ops */
806 unsigned err_stops_fifo : 1; /* 1=data FIFO is cleared by an error */ 805 unsigned err_stops_fifo : 1; /* 1=data FIFO is cleared by an error */
806 unsigned mmio : 1; /* host uses MMIO */
807 807
808 struct device gendev; 808 struct device gendev;
809 struct completion gendev_rel_comp; /* To deal with device release() */ 809 struct completion gendev_rel_comp; /* To deal with device release() */