Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Erik Inge Bolsø and committed by
Jeff Garzik
aef37d8d 14bdef98

+1 -1
+1 -1
drivers/ata/pata_radisys.c
··· 217 217 static const struct ata_port_info info = { 218 218 .flags = ATA_FLAG_SLAVE_POSS, 219 219 .pio_mask = ATA_PIO4, 220 - .mwdma_mask = ATA_MWDMA2, /* mwdma1-2 */ 220 + .mwdma_mask = ATA_MWDMA12_ONLY, 221 221 .udma_mask = ATA_UDMA24_ONLY, 222 222 .port_ops = &radisys_pata_ops, 223 223 };