aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-dma.c')
-rw-r--r--drivers/ide/ide-dma.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c
index d61e5788d310..aaece2c06c9d 100644
--- a/drivers/ide/ide-dma.c
+++ b/drivers/ide/ide-dma.c
@@ -703,14 +703,8 @@ static int ide_tune_dma(ide_drive_t *drive)
703 703
704 speed = ide_max_dma_mode(drive); 704 speed = ide_max_dma_mode(drive);
705 705
706 if (!speed) { 706 if (!speed)
707 /* is this really correct/needed? */ 707 return 0;
708 if ((hwif->host_flags & IDE_HFLAG_CY82C693) &&
709 ide_dma_good_drive(drive))
710 return 1;
711 else
712 return 0;
713 }
714 708
715 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE) 709 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)
716 return 1; 710 return 1;