Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2a034cf authored by Erik Inge Bolsø's avatar Erik Inge Bolsø Committed by Jeff Garzik
Browse files

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: default avatarErik Inge Bolsø <knan-lkml@anduin.net>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent aef37d8d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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 = {
	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_MWDMA2,
		.udma_mask 	= ATA_UDMA3, /* UDMA 66 */
		.udma_mask 	= ATA_UDMA4,
		.port_ops	= &efar_ops,
		.port_ops	= &efar_ops,
	};
	};
	const struct ata_port_info *ppi[] = { &info, NULL };
	const struct ata_port_info *ppi[] = { &info, NULL };