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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ide/pci/siimage.c b/drivers/ide/pci/siimage.c
index 4877bc8cd599..accac8342e17 100644
--- a/drivers/ide/pci/siimage.c
+++ b/drivers/ide/pci/siimage.c
@@ -827,15 +827,14 @@ static void __devinit init_hwif_siimage(ide_hwif_t *hwif)
827 } else 827 } else
828 hwif->udma_filter = &sil_pata_udma_filter; 828 hwif->udma_filter = &sil_pata_udma_filter;
829 829
830 hwif->cable_detect = ata66_siimage;
831
830 if (hwif->dma_base == 0) 832 if (hwif->dma_base == 0)
831 return; 833 return;
832 834
833 if (sata) 835 if (sata)
834 hwif->host_flags |= IDE_HFLAG_NO_ATAPI_DMA; 836 hwif->host_flags |= IDE_HFLAG_NO_ATAPI_DMA;
835 837
836 if (hwif->cbl != ATA_CBL_PATA40_SHORT)
837 hwif->cbl = ata66_siimage(hwif);
838
839 if (hwif->mmio) { 838 if (hwif->mmio) {
840 hwif->ide_dma_test_irq = &siimage_mmio_ide_dma_test_irq; 839 hwif->ide_dma_test_irq = &siimage_mmio_ide_dma_test_irq;
841 } else { 840 } else {