aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-18 18:30:10 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-18 18:30:10 -0400
commited67b92385a5afddc98d5ff0894b2854c4a54dac (patch)
treebb5a72cbc383ffdc759c1c12a18fc5be54df69e2 /include/linux/ide.h
parent40d2dd7ef3df468814a34cd3d31486408e604468 (diff)
ide: add IDE_HFLAG_ERROR_STOPS_FIFO host flag
Add IDE_HFLAG_ERROR_STOPS_FIFO host flag and use it instead of hwif->err_stops_fifo. As a side-effect this change fixes hwif->err_stops_fifo not being restored by ide_hwif_restore(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index eced442392c8..b12510d21f25 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -799,7 +799,6 @@ typedef struct hwif_s {
799 unsigned auto_poll : 1; /* supports nop auto-poll */ 799 unsigned auto_poll : 1; /* supports nop auto-poll */
800 unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */ 800 unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */
801 unsigned no_io_32bit : 1; /* 1 = can not do 32-bit IO ops */ 801 unsigned no_io_32bit : 1; /* 1 = can not do 32-bit IO ops */
802 unsigned err_stops_fifo : 1; /* 1=data FIFO is cleared by an error */
803 unsigned mmio : 1; /* host uses MMIO */ 802 unsigned mmio : 1; /* host uses MMIO */
804 803
805 struct device gendev; 804 struct device gendev;
@@ -1256,6 +1255,8 @@ enum {
1256 IDE_HFLAG_NO_LBA48 = (1 << 17), 1255 IDE_HFLAG_NO_LBA48 = (1 << 17),
1257 /* no LBA48 DMA */ 1256 /* no LBA48 DMA */
1258 IDE_HFLAG_NO_LBA48_DMA = (1 << 18), 1257 IDE_HFLAG_NO_LBA48_DMA = (1 << 18),
1258 /* data FIFO is cleared by an error */
1259 IDE_HFLAG_ERROR_STOPS_FIFO = (1 << 19),
1259}; 1260};
1260 1261
1261#ifdef CONFIG_BLK_DEV_OFFBOARD 1262#ifdef CONFIG_BLK_DEV_OFFBOARD