diff options
Diffstat (limited to 'drivers/ata/pata_icside.c')
-rw-r--r-- | drivers/ata/pata_icside.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_icside.c b/drivers/ata/pata_icside.c index d7bc925c524d..b663b7ffae4b 100644 --- a/drivers/ata/pata_icside.c +++ b/drivers/ata/pata_icside.c | |||
@@ -284,7 +284,7 @@ static int icside_dma_init(struct pata_icside_info *info) | |||
284 | 284 | ||
285 | if (ec->dma != NO_DMA && !request_dma(ec->dma, DRV_NAME)) { | 285 | if (ec->dma != NO_DMA && !request_dma(ec->dma, DRV_NAME)) { |
286 | state->dma = ec->dma; | 286 | state->dma = ec->dma; |
287 | info->mwdma_mask = 0x07; /* MW0..2 */ | 287 | info->mwdma_mask = ATA_MWDMA2; |
288 | } | 288 | } |
289 | 289 | ||
290 | return 0; | 290 | return 0; |
@@ -460,7 +460,7 @@ static int __devinit pata_icside_add_ports(struct pata_icside_info *info) | |||
460 | for (i = 0; i < info->nr_ports; i++) { | 460 | for (i = 0; i < info->nr_ports; i++) { |
461 | struct ata_port *ap = host->ports[i]; | 461 | struct ata_port *ap = host->ports[i]; |
462 | 462 | ||
463 | ap->pio_mask = 0x1f; | 463 | ap->pio_mask = ATA_PIO4; |
464 | ap->mwdma_mask = info->mwdma_mask; | 464 | ap->mwdma_mask = info->mwdma_mask; |
465 | ap->flags |= ATA_FLAG_SLAVE_POSS; | 465 | ap->flags |= ATA_FLAG_SLAVE_POSS; |
466 | ap->ops = &pata_icside_port_ops; | 466 | ap->ops = &pata_icside_port_ops; |