Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=69f4f331a0f78470f0bc42ba8db8d6cdd9cae4a9 Commit: 69f4f331a0f78470f0bc42ba8db8d6cdd9cae4a9 Parent: 235b185ce47ce64793362bd3ae4bcd8afc6b57b8 Author: Russell King <[EMAIL PROTECTED]> AuthorDate: Mon Apr 2 13:53:15 2007 +0100 Committer: Russell King <[EMAIL PROTECTED]> CommitDate: Thu May 3 14:16:55 2007 +0100
[ARM] Set coherent DMA mask for Acorn expansion cards Although expansion cards can't do bus-master DMA, subsystems want to be able to use coherent memory for DMA purposes to these cards. Therefore, set the coherent DMA mask to allow such memory to be allocated. Signed-off-by: Russell King <[EMAIL PROTECTED]> --- arch/arm/kernel/ecard.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/kernel/ecard.c b/arch/arm/kernel/ecard.c index f1c0fb9..6eb80ac 100644 --- a/arch/arm/kernel/ecard.c +++ b/arch/arm/kernel/ecard.c @@ -825,6 +825,7 @@ static struct expansion_card *__init ecard_alloc_card(int type, int slot) ec->dev.bus = &ecard_bus_type; ec->dev.dma_mask = &ec->dma_mask; ec->dma_mask = (u64)0xffffffff; + ec->dev.coherent_dma_mask = ec->dma_mask; if (slot < 4) { ec_set_resource(ec, ECARD_RES_MEMC, - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html