diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-03-28 16:29:51 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-03-28 16:29:51 -0400 |
commit | ed40d0c472b136682b2fcba05f89762859c7374f (patch) | |
tree | 076b83a26bcd63d6158463735dd34c10bbc591dc /drivers/ata/pata_icside.c | |
parent | 9e495834e59ca9b29f1a1f63b9f5533bb022ac49 (diff) | |
parent | 5d80f8e5a9dc9c9a94d4aeaa567e219a808b8a4a (diff) |
Merge branch 'origin' into devel
Conflicts:
sound/soc/pxa/pxa2xx-i2s.c
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; |