aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/cs5530.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/cs5530.c')
-rw-r--r--drivers/ide/pci/cs5530.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/ide/pci/cs5530.c b/drivers/ide/pci/cs5530.c
index 845500115f3c..ec52dbec675f 100644
--- a/drivers/ide/pci/cs5530.c
+++ b/drivers/ide/pci/cs5530.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * linux/drivers/ide/pci/cs5530.c Version 0.71 Mar 10 2007 2 * linux/drivers/ide/pci/cs5530.c Version 0.72 Mar 10 2007
3 * 3 *
4 * Copyright (C) 2000 Andre Hedrick <andre@linux-ide.org> 4 * Copyright (C) 2000 Andre Hedrick <andre@linux-ide.org>
5 * Copyright (C) 2000 Mark Lord <mlord@pobox.com> 5 * Copyright (C) 2000 Mark Lord <mlord@pobox.com>
@@ -141,11 +141,6 @@ static int cs5530_config_dma(ide_drive_t *drive)
141 unsigned long basereg; 141 unsigned long basereg;
142 u8 unit = drive->dn & 1, mode = 0; 142 u8 unit = drive->dn & 1, mode = 0;
143 143
144 /*
145 * Default to DMA-off in case we run into trouble here.
146 */
147 hwif->dma_off_quietly(drive);
148
149 if (ide_use_dma(drive)) 144 if (ide_use_dma(drive))
150 mode = ide_max_dma_mode(drive); 145 mode = ide_max_dma_mode(drive);
151 146