[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <877FD0B5-19A7-4A16-831E-369B80B104EA@kernel.crashing.org>
Date: Tue, 21 Sep 2010 07:55:22 -0500
From: Kumar Gala <galak@...nel.crashing.org>
To: Li Yang <leoli@...escale.com>
Cc: dan.j.williams@...el.com, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fsldma: add support to 36-bit physical address
On Sep 21, 2010, at 5:57 AM, Li Yang wrote:
> Signed-off-by: Li Yang <leoli@...escale.com>
> ---
We really should have a sentence about how or why this works to address 36-bit addressing.
> drivers/dma/fsldma.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
> index cea08be..9163552 100644
> --- a/drivers/dma/fsldma.c
> +++ b/drivers/dma/fsldma.c
> @@ -1,7 +1,7 @@
> /*
> * Freescale MPC85xx, MPC83xx DMA Engine support
> *
> - * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
> + * Copyright (C) 2007-2009 Freescale Semiconductor, Inc. All rights reserved.
> *
> * Author:
> * Zhang Wei <wei.zhang@...escale.com>, Jul 2007
> @@ -1338,6 +1338,7 @@ static int __devinit fsldma_of_probe(struct platform_device *op,
> fdev->common.device_control = fsl_dma_device_control;
> fdev->common.dev = &op->dev;
>
> + dma_set_mask(&op->dev, DMA_BIT_MASK(36));
> dev_set_drvdata(&op->dev, fdev);
>
> /*
> --
> 1.6.6-rc1.GIT
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@...ts.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists