diff options
author | Erik Inge Bolsø <knan-lkml@anduin.net> | 2009-03-14 18:07:33 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-03-24 22:13:32 -0400 |
commit | aef37d8d80d8c027f03d362a97afe3f6a42bfbb4 (patch) | |
tree | c6b710286d883323d317f59fb1bca5d04d9bf29f /drivers/ata | |
parent | 14bdef982caeda19afe34010482867c18217c641 (diff) |
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_radisys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_radisys.c b/drivers/ata/pata_radisys.c index 1956d5c03a7f..4401b332eaab 100644 --- a/drivers/ata/pata_radisys.c +++ b/drivers/ata/pata_radisys.c | |||
@@ -217,7 +217,7 @@ static int radisys_init_one (struct pci_dev *pdev, const struct pci_device_id *e | |||
217 | static const struct ata_port_info info = { | 217 | static const struct ata_port_info info = { |
218 | .flags = ATA_FLAG_SLAVE_POSS, | 218 | .flags = ATA_FLAG_SLAVE_POSS, |
219 | .pio_mask = ATA_PIO4, | 219 | .pio_mask = ATA_PIO4, |
220 | .mwdma_mask = ATA_MWDMA2, /* mwdma1-2 */ | 220 | .mwdma_mask = ATA_MWDMA12_ONLY, |
221 | .udma_mask = ATA_UDMA24_ONLY, | 221 | .udma_mask = ATA_UDMA24_ONLY, |
222 | .port_ops = &radisys_pata_ops, | 222 | .port_ops = &radisys_pata_ops, |
223 | }; | 223 | }; |