aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/sc1200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/sc1200.c')
-rw-r--r--drivers/ide/pci/sc1200.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c
index 184249ed125b..38cfc8c2ea58 100644
--- a/drivers/ide/pci/sc1200.c
+++ b/drivers/ide/pci/sc1200.c
@@ -199,21 +199,6 @@ static void sc1200_set_dma_mode(ide_drive_t *drive, const u8 mode)
199 } 199 }
200} 200}
201 201
202/*
203 * sc1200_config_dma() handles selection/setting of DMA/UDMA modes
204 * for both the chipset and drive.
205 */
206static int sc1200_config_dma (ide_drive_t *drive)
207{
208 if (ide_tune_dma(drive))
209 return 0;
210
211 ide_set_max_pio(drive);
212
213 return -1;
214}
215
216
217/* Replacement for the standard ide_dma_end action in 202/* Replacement for the standard ide_dma_end action in
218 * dma_proc. 203 * dma_proc.
219 * 204 *
@@ -391,7 +376,6 @@ static void __devinit init_hwif_sc1200 (ide_hwif_t *hwif)
391 return; 376 return;
392 377
393 hwif->udma_filter = sc1200_udma_filter; 378 hwif->udma_filter = sc1200_udma_filter;
394 hwif->ide_dma_check = &sc1200_config_dma;
395 hwif->ide_dma_end = &sc1200_ide_dma_end; 379 hwif->ide_dma_end = &sc1200_ide_dma_end;
396 380
397 if (!noautodma) 381 if (!noautodma)