aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorErik Inge Bolsø2009-03-14 23:07:33 +0100
committerJeff Garzik2009-03-24 22:13:32 -0400
commitaef37d8d80d8c027f03d362a97afe3f6a42bfbb4 (patch)
treec6b710286d883323d317f59fb1bca5d04d9bf29f /drivers/ata
parent14bdef982caeda19afe34010482867c18217c641 (diff)
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: Erik Inge Bolsø <knan-lkml@anduin.net> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_radisys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_radisys.c b/drivers/ata/pata_radisys.c
index 1956d5c03a7f..4401b332eaab 100644
--- a/drivers/ata/pata_radisys.c
+++ b/drivers/ata/pata_radisys.c
@@ -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 = {
.flags = ATA_FLAG_SLAVE_POSS,
.pio_mask = ATA_PIO4,
- .mwdma_mask = ATA_MWDMA2, /* mwdma1-2 */
+ .mwdma_mask = ATA_MWDMA12_ONLY,
.udma_mask = ATA_UDMA24_ONLY,
.port_ops = &radisys_pata_ops,
};