aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 13:55:55 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 13:55:55 -0400
commitba4b2e607e4e9eaa929935325dafd5c86d3b5262 (patch)
treea1467b1bf355758d74343cc708c7f6fa70400faf /include/linux/ide.h
parent472b4bc1af50431e08130c786ef0612f5b641839 (diff)
ide: remove dead Virtual DMA support
Lets remove dead Virtual DMA support for now so it doesn't clutter core IDE code (it can be bring back when there is a need for it): * Remove IDE_HFLAG_VDMA host flag. * Remove ide_drive_t.vdma flag. * cs5520.c: remove stale FIXMEs, cs5520_dma_host_set() and cs5520_dma_ops (also there is no longer a need to set IDE_HFLAG_NO_ATAPI_DMA). There should be no functional changes caused by this patch. Cc: TAKADA Yoshihito <takada@mbf.nifty.com> 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, 0 insertions, 3 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 0544ff7d9afc..3f2889400250 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -355,7 +355,6 @@ typedef struct ide_drive_s {
355 unsigned nodma : 1; /* disallow DMA */ 355 unsigned nodma : 1; /* disallow DMA */
356 unsigned remap_0_to_1 : 1; /* 0=noremap, 1=remap 0->1 (for EZDrive) */ 356 unsigned remap_0_to_1 : 1; /* 0=noremap, 1=remap 0->1 (for EZDrive) */
357 unsigned blocked : 1; /* 1=powermanagment told us not to do anything, so sleep nicely */ 357 unsigned blocked : 1; /* 1=powermanagment told us not to do anything, so sleep nicely */
358 unsigned vdma : 1; /* 1=doing PIO over DMA 0=doing normal DMA */
359 unsigned scsi : 1; /* 0=default, 1=ide-scsi emulation */ 358 unsigned scsi : 1; /* 0=default, 1=ide-scsi emulation */
360 unsigned sleeping : 1; /* 1=sleeping & sleep field valid */ 359 unsigned sleeping : 1; /* 1=sleeping & sleep field valid */
361 unsigned post_reset : 1; 360 unsigned post_reset : 1;
@@ -1097,8 +1096,6 @@ enum {
1097 IDE_HFLAG_NO_IO_32BIT = (1 << 30), 1096 IDE_HFLAG_NO_IO_32BIT = (1 << 30),
1098 /* never unmask IRQs */ 1097 /* never unmask IRQs */
1099 IDE_HFLAG_NO_UNMASK_IRQS = (1 << 31), 1098 IDE_HFLAG_NO_UNMASK_IRQS = (1 << 31),
1100 /* host uses VDMA (disabled for now) */
1101 IDE_HFLAG_VDMA = 0,
1102}; 1099};
1103 1100
1104#ifdef CONFIG_BLK_DEV_OFFBOARD 1101#ifdef CONFIG_BLK_DEV_OFFBOARD