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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ide/pci/sis5513.c b/drivers/ide/pci/sis5513.c
index d38b2039e2aa..674a5bb79550 100644
--- a/drivers/ide/pci/sis5513.c
+++ b/drivers/ide/pci/sis5513.c
@@ -564,9 +564,6 @@ static void __devinit init_hwif_sis5513 (ide_hwif_t *hwif)
564{ 564{
565 u8 udma_rates[] = { 0x00, 0x00, 0x07, 0x1f, 0x3f, 0x3f, 0x7f, 0x7f }; 565 u8 udma_rates[] = { 0x00, 0x00, 0x07, 0x1f, 0x3f, 0x3f, 0x7f, 0x7f };
566 566
567 if (!hwif->irq)
568 hwif->irq = hwif->channel ? 15 : 14;
569
570 hwif->set_pio_mode = &sis_set_pio_mode; 567 hwif->set_pio_mode = &sis_set_pio_mode;
571 hwif->set_dma_mode = &sis_set_dma_mode; 568 hwif->set_dma_mode = &sis_set_dma_mode;
572 569
@@ -590,7 +587,8 @@ static ide_pci_device_t sis5513_chipset __devinitdata = {
590 .init_chipset = init_chipset_sis5513, 587 .init_chipset = init_chipset_sis5513,
591 .init_hwif = init_hwif_sis5513, 588 .init_hwif = init_hwif_sis5513,
592 .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, 589 .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}},
593 .host_flags = IDE_HFLAG_NO_AUTODMA | IDE_HFLAG_BOOTABLE, 590 .host_flags = IDE_HFLAG_LEGACY_IRQS | IDE_HFLAG_NO_AUTODMA |
591 IDE_HFLAG_BOOTABLE,
594 .pio_mask = ATA_PIO4, 592 .pio_mask = ATA_PIO4,
595 .mwdma_mask = ATA_MWDMA2, 593 .mwdma_mask = ATA_MWDMA2,
596}; 594};