diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:10 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:10 -0400 |
commit | 1c51361a9867021dd7444b56d87834003d4ca67d (patch) | |
tree | 2b14e5a4d85b9d46571c5839bbcce6f90be8b616 /drivers/ide/setup-pci.c | |
parent | ed67b92385a5afddc98d5ff0894b2854c4a54dac (diff) |
ide: add IDE_HFLAG_SERIALIZE host flag
Add IDE_HFLAG_SERIALIZE host flag to tell ide_pci_setup_ports() to set
hwif/mate->serialized and convert aec62xx, cs5530 and sc1200 host drivers
to use it.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/setup-pci.c')
-rw-r--r-- | drivers/ide/setup-pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c index 1da9935ba948..aae4806f0603 100644 --- a/drivers/ide/setup-pci.c +++ b/drivers/ide/setup-pci.c | |||
@@ -565,6 +565,9 @@ void ide_pci_setup_ports(struct pci_dev *dev, ide_pci_device_t *d, int pciirq, a | |||
565 | hwif->host_flags = d->host_flags; | 565 | hwif->host_flags = d->host_flags; |
566 | hwif->pio_mask = d->pio_mask; | 566 | hwif->pio_mask = d->pio_mask; |
567 | 567 | ||
568 | if ((d->host_flags & IDE_HFLAG_SERIALIZE) && hwif->mate) | ||
569 | hwif->mate->serialized = hwif->serialized = 1; | ||
570 | |||
568 | if (hwif->dma_base) { | 571 | if (hwif->dma_base) { |
569 | hwif->swdma_mask = d->swdma_mask; | 572 | hwif->swdma_mask = d->swdma_mask; |
570 | hwif->mwdma_mask = d->mwdma_mask; | 573 | hwif->mwdma_mask = d->mwdma_mask; |