aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/setup-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/setup-pci.c')
-rw-r--r--drivers/ide/setup-pci.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c
index d62b225f569f..4e9de2043113 100644
--- a/drivers/ide/setup-pci.c
+++ b/drivers/ide/setup-pci.c
@@ -567,6 +567,8 @@ void ide_pci_setup_ports(struct pci_dev *dev, ide_pci_device_t *d, int pciirq, a
567 (d->host_flags & IDE_HFLAG_FORCE_LEGACY_IRQS)) 567 (d->host_flags & IDE_HFLAG_FORCE_LEGACY_IRQS))
568 hwif->irq = port ? 15 : 14; 568 hwif->irq = port ? 15 : 14;
569 569
570 hwif->fixup = d->fixup;
571
570 hwif->host_flags = d->host_flags; 572 hwif->host_flags = d->host_flags;
571 hwif->pio_mask = d->pio_mask; 573 hwif->pio_mask = d->pio_mask;
572 574
@@ -692,9 +694,9 @@ int ide_setup_pci_device(struct pci_dev *dev, ide_pci_device_t *d)
692 mate = &ide_hwifs[index_list.b.high]; 694 mate = &ide_hwifs[index_list.b.high];
693 695
694 if (hwif) 696 if (hwif)
695 probe_hwif_init_with_fixup(hwif, d->fixup); 697 probe_hwif_init(hwif);
696 if (mate) 698 if (mate)
697 probe_hwif_init_with_fixup(mate, d->fixup); 699 probe_hwif_init(mate);
698 700
699 if (hwif) 701 if (hwif)
700 ide_proc_register_port(hwif); 702 ide_proc_register_port(hwif);