aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/siimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/siimage.c')
-rw-r--r--drivers/ide/pci/siimage.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/ide/pci/siimage.c b/drivers/ide/pci/siimage.c
index cc1706798a14..85d0afd00e66 100644
--- a/drivers/ide/pci/siimage.c
+++ b/drivers/ide/pci/siimage.c
@@ -873,8 +873,6 @@ static u8 __devinit ata66_siimage(ide_hwif_t *hwif)
873 873
874static void __devinit init_hwif_siimage(ide_hwif_t *hwif) 874static void __devinit init_hwif_siimage(ide_hwif_t *hwif)
875{ 875{
876 hwif->autodma = 0;
877
878 hwif->resetproc = &siimage_reset; 876 hwif->resetproc = &siimage_reset;
879 hwif->set_pio_mode = &sil_set_pio_mode; 877 hwif->set_pio_mode = &sil_set_pio_mode;
880 hwif->set_dma_mode = &sil_set_dma_mode; 878 hwif->set_dma_mode = &sil_set_dma_mode;
@@ -912,15 +910,6 @@ static void __devinit init_hwif_siimage(ide_hwif_t *hwif)
912 } else { 910 } else {
913 hwif->ide_dma_test_irq = & siimage_io_ide_dma_test_irq; 911 hwif->ide_dma_test_irq = & siimage_io_ide_dma_test_irq;
914 } 912 }
915
916 /*
917 * The BIOS often doesn't set up DMA on this controller
918 * so we always do it.
919 */
920
921 hwif->autodma = 1;
922 hwif->drives[0].autodma = hwif->autodma;
923 hwif->drives[1].autodma = hwif->autodma;
924} 913}
925 914
926#define DECLARE_SII_DEV(name_str) \ 915#define DECLARE_SII_DEV(name_str) \