summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_efar.c
diff options
context:
space:
mode:
authorErik Inge Bolsø <knan-lkml@anduin.net>2009-03-14 23:08:20 +0100
committerJeff Garzik <jgarzik@redhat.com>2009-03-24 22:13:39 -0400
commitb2a034cf16a1642e647497c70c1cd9c09bf39412 (patch)
treecf99ce557778581abeb42f0586cf5cb9031fe3d3 /drivers/ata/pata_efar.c
parentaef37d8d80d8c027f03d362a97afe3f6a42bfbb4 (diff)
downloadblackbird-op-linux-b2a034cf16a1642e647497c70c1cd9c09bf39412.tar.gz
blackbird-op-linux-b2a034cf16a1642e647497c70c1cd9c09bf39412.zip
pata_efar: fix *dma_mask
According to Alan: >and yes the EFAR does UDMA66. mwdma: >Yep - wrong comment. The EFAR is a sort of clone of the PIIX and I >copied the comment while EFAR don't appear to have copied the >limitation Signed-off-by: Erik Inge Bolsø <knan-lkml@anduin.net> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_efar.c')
-rw-r--r--drivers/ata/pata_efar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c
index bd498cc3920e..2085e0a3a05a 100644
--- a/drivers/ata/pata_efar.c
+++ b/drivers/ata/pata_efar.c
@@ -252,8 +252,8 @@ static int efar_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
static const struct ata_port_info info = {
.flags = ATA_FLAG_SLAVE_POSS,
.pio_mask = ATA_PIO4,
- .mwdma_mask = ATA_MWDMA2, /* mwdma1-2 */
- .udma_mask = ATA_UDMA3, /* UDMA 66 */
+ .mwdma_mask = ATA_MWDMA2,
+ .udma_mask = ATA_UDMA4,
.port_ops = &efar_ops,
};
const struct ata_port_info *ppi[] = { &info, NULL };
OpenPOWER on IntegriCloud