diff options
author | Erik Inge Bolsø <knan-lkml@anduin.net> | 2009-03-14 23:07:33 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-03-25 03:13:32 +0100 |
commit | aef37d8d80d8c027f03d362a97afe3f6a42bfbb4 (patch) | |
tree | c6b710286d883323d317f59fb1bca5d04d9bf29f /drivers/ata/pata_radisys.c | |
parent | [libata] convert drivers to use ata.h mode mask defines (diff) | |
download | linux-aef37d8d80d8c027f03d362a97afe3f6a42bfbb4.tar.xz linux-aef37d8d80d8c027f03d362a97afe3f6a42bfbb4.zip |
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/pata_radisys.c')
-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 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, }; |