Skip to contentSkip to conversation

pata_efar: fix *dma_mask

PATCH New Erik Inge Bolsø 1 participant 1 message Mar 14, 2009 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pata_efar: fix *dma_mask

According to Alan:

Quoted 1 line

and yes the EFAR does UDMA66.

mwdma:

Quoted 3 lines

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

---
 drivers/ata/pata_efar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/ata/pata_efar.c +2 -2
index bd498cc..2085e0a 100644
@@ -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 };
Signature · 1 line
1.5.6.3