Skip to content

Commit

Permalink
pata_radisys: fix mwdma_mask to exclude mwdma0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Erik Inge Bolsø authored and Jeff Garzik committed Mar 25, 2009
1 parent 14bdef9 commit aef37d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/pata_radisys.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static int radisys_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, /* mwdma1-2 */
.mwdma_mask = ATA_MWDMA12_ONLY,
.udma_mask = ATA_UDMA24_ONLY,
.port_ops = &radisys_pata_ops,
};
Expand Down

0 comments on commit aef37d8

Please sign in to comment.