aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/sis5513.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/sis5513.c')
-rw-r--r--drivers/ide/pci/sis5513.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ide/pci/sis5513.c b/drivers/ide/pci/sis5513.c
index 2a461de22aa0..cb5c6fc6f3f9 100644
--- a/drivers/ide/pci/sis5513.c
+++ b/drivers/ide/pci/sis5513.c
@@ -565,13 +565,12 @@ static void __devinit init_hwif_sis5513 (ide_hwif_t *hwif)
565 if (chipset_family >= ATA_133) 565 if (chipset_family >= ATA_133)
566 hwif->udma_filter = sis5513_ata133_udma_filter; 566 hwif->udma_filter = sis5513_ata133_udma_filter;
567 567
568 hwif->cable_detect = ata66_sis5513;
569
568 if (hwif->dma_base == 0) 570 if (hwif->dma_base == 0)
569 return; 571 return;
570 572
571 hwif->ultra_mask = udma_rates[chipset_family]; 573 hwif->ultra_mask = udma_rates[chipset_family];
572
573 if (hwif->cbl != ATA_CBL_PATA40_SHORT)
574 hwif->cbl = ata66_sis5513(hwif);
575} 574}
576 575
577static const struct ide_port_info sis5513_chipset __devinitdata = { 576static const struct ide_port_info sis5513_chipset __devinitdata = {