diff options
Diffstat (limited to 'drivers/ide/pci/it821x.c')
-rw-r--r-- | drivers/ide/pci/it821x.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ide/pci/it821x.c b/drivers/ide/pci/it821x.c index 938d35f35c81..79232c6c1f01 100644 --- a/drivers/ide/pci/it821x.c +++ b/drivers/ide/pci/it821x.c | |||
@@ -579,14 +579,13 @@ static void __devinit init_hwif_it821x(ide_hwif_t *hwif) | |||
579 | } else | 579 | } else |
580 | hwif->host_flags |= IDE_HFLAG_NO_SET_MODE; | 580 | hwif->host_flags |= IDE_HFLAG_NO_SET_MODE; |
581 | 581 | ||
582 | hwif->cable_detect = ata66_it821x; | ||
583 | |||
582 | if (hwif->dma_base == 0) | 584 | if (hwif->dma_base == 0) |
583 | return; | 585 | return; |
584 | 586 | ||
585 | hwif->ultra_mask = ATA_UDMA6; | 587 | hwif->ultra_mask = ATA_UDMA6; |
586 | hwif->mwdma_mask = ATA_MWDMA2; | 588 | hwif->mwdma_mask = ATA_MWDMA2; |
587 | |||
588 | if (hwif->cbl != ATA_CBL_PATA40_SHORT) | ||
589 | hwif->cbl = ata66_it821x(hwif); | ||
590 | } | 589 | } |
591 | 590 | ||
592 | static void __devinit it8212_disable_raid(struct pci_dev *dev) | 591 | static void __devinit it8212_disable_raid(struct pci_dev *dev) |