diff options
Diffstat (limited to 'drivers/ide/setup-pci.c')
-rw-r--r-- | drivers/ide/setup-pci.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c index a1d7efc9eaaf..d62b225f569f 100644 --- a/drivers/ide/setup-pci.c +++ b/drivers/ide/setup-pci.c | |||
@@ -573,6 +573,16 @@ void ide_pci_setup_ports(struct pci_dev *dev, ide_pci_device_t *d, int pciirq, a | |||
573 | if ((d->host_flags & IDE_HFLAG_SERIALIZE) && hwif->mate) | 573 | if ((d->host_flags & IDE_HFLAG_SERIALIZE) && hwif->mate) |
574 | hwif->mate->serialized = hwif->serialized = 1; | 574 | hwif->mate->serialized = hwif->serialized = 1; |
575 | 575 | ||
576 | if (d->host_flags & IDE_HFLAG_IO_32BIT) { | ||
577 | hwif->drives[0].io_32bit = 1; | ||
578 | hwif->drives[1].io_32bit = 1; | ||
579 | } | ||
580 | |||
581 | if (d->host_flags & IDE_HFLAG_UNMASK_IRQS) { | ||
582 | hwif->drives[0].unmask = 1; | ||
583 | hwif->drives[1].unmask = 1; | ||
584 | } | ||
585 | |||
576 | if (hwif->dma_base) { | 586 | if (hwif->dma_base) { |
577 | hwif->swdma_mask = d->swdma_mask; | 587 | hwif->swdma_mask = d->swdma_mask; |
578 | hwif->mwdma_mask = d->mwdma_mask; | 588 | hwif->mwdma_mask = d->mwdma_mask; |