summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_oldpiix.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-12-03 17:52:16 -0500
committerJeff Garzik <jgarzik@redhat.com>2009-12-03 17:52:16 -0500
commit82563232c79c6f0099a02f7d2652ee7aee3fe9ba (patch)
tree8b540ad44a2805e60255ca3d7239d456749a0ed1 /drivers/ata/pata_oldpiix.c
parentc4d8a20022e617174eb887c82356d3f513e279a7 (diff)
downloadblackbird-op-linux-82563232c79c6f0099a02f7d2652ee7aee3fe9ba.tar.gz
blackbird-op-linux-82563232c79c6f0099a02f7d2652ee7aee3fe9ba.zip
[libata] MWDMA0 is unsupported on PIIX-like PATA controllers
MWDMA0 timings cannot be met with the PIIX based controller programming interface. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_oldpiix.c')
-rw-r--r--drivers/ata/pata_oldpiix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_oldpiix.c b/drivers/ata/pata_oldpiix.c
index 84ac5033ac89..9a8687db6b2d 100644
--- a/drivers/ata/pata_oldpiix.c
+++ b/drivers/ata/pata_oldpiix.c
@@ -239,7 +239,7 @@ static int oldpiix_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,
+ .mwdma_mask = ATA_MWDMA12_ONLY,
.port_ops = &oldpiix_pata_ops,
};
const struct ata_port_info *ppi[] = { &info, NULL };
OpenPOWER on IntegriCloud