Commit aef37d8d authored by Erik Inge Bolsø's avatar Erik Inge Bolsø Committed by Jeff Garzik

pata_radisys: fix mwdma_mask to exclude mwdma0

As noted by Alan:
>Your suspicions are correct here btw - the device can only do MWDMA1 and
>MWDMA2 (much like some PIIX devices)
Signed-off-by: default avatarErik Inge Bolsø <knan-lkml@anduin.net>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 14bdef98
...@@ -217,7 +217,7 @@ static int radisys_init_one (struct pci_dev *pdev, const struct pci_device_id *e ...@@ -217,7 +217,7 @@ static int radisys_init_one (struct pci_dev *pdev, const struct pci_device_id *e
static const struct ata_port_info info = { static const struct ata_port_info info = {
.flags = ATA_FLAG_SLAVE_POSS, .flags = ATA_FLAG_SLAVE_POSS,
.pio_mask = ATA_PIO4, .pio_mask = ATA_PIO4,
.mwdma_mask = ATA_MWDMA2, /* mwdma1-2 */ .mwdma_mask = ATA_MWDMA12_ONLY,
.udma_mask = ATA_UDMA24_ONLY, .udma_mask = ATA_UDMA24_ONLY,
.port_ops = &radisys_pata_ops, .port_ops = &radisys_pata_ops,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment