From patchwork Tue Sep 21 10:57:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 65291 X-Patchwork-Delegate: galak@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id D1BFCB7116 for ; Tue, 21 Sep 2010 20:13:14 +1000 (EST) Received: from TX2EHSOBE007.bigfish.com (tx2ehsobe004.messaging.microsoft.com [65.55.88.14]) by ozlabs.org (Postfix) with ESMTP id 4DAECB6F01 for ; Tue, 21 Sep 2010 20:13:07 +1000 (EST) Received: from mail33-tx2-R.bigfish.com (10.9.14.246) by TX2EHSOBE007.bigfish.com (10.9.40.27) with Microsoft SMTP Server id 8.1.340.0; Tue, 21 Sep 2010 10:12:55 +0000 Received: from mail33-tx2 (localhost.localdomain [127.0.0.1]) by mail33-tx2-R.bigfish.com (Postfix) with ESMTP id 09A3411F0564 for ; Tue, 21 Sep 2010 10:12:55 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275bhz2dh2a8h) X-FB-SS: 0, Received: from mail33-tx2 (localhost.localdomain [127.0.0.1]) by mail33-tx2 (MessageSwitch) id 1285063966188938_7944; Tue, 21 Sep 2010 10:12:47 +0000 (UTC) Received: from TX2EHSMHS031.bigfish.com (unknown [10.9.14.244]) by mail33-tx2.bigfish.com (Postfix) with ESMTP id 162341890065 for ; Tue, 21 Sep 2010 10:12:38 +0000 (UTC) Received: from de01egw02.freescale.net (192.88.165.103) by TX2EHSMHS031.bigfish.com (10.9.99.131) with Microsoft SMTP Server (TLS) id 14.0.482.44; Tue, 21 Sep 2010 10:12:37 +0000 Received: from de01smr02.am.mot.com (de01smr02.freescale.net [10.208.0.151]) by de01egw02.freescale.net (8.14.3/8.14.3) with ESMTP id o8LACa1S019415 for ; Tue, 21 Sep 2010 03:12:36 -0700 (MST) Received: from zch01exm26.fsl.freescale.net (zch01exm26.ap.freescale.net [10.192.129.221]) by de01smr02.am.mot.com (8.13.1/8.13.0) with ESMTP id o8LARw54004664 for ; Tue, 21 Sep 2010 05:27:59 -0500 (CDT) Received: from localhost ([10.193.20.133]) by zch01exm26.fsl.freescale.net with Microsoft SMTPSVC(6.0.3790.4675); Tue, 21 Sep 2010 18:12:33 +0800 From: Li Yang To: dan.j.williams@intel.com Subject: [PATCH] fsldma: add support to 36-bit physical address Date: Tue, 21 Sep 2010 18:57:18 +0800 Message-ID: <1285066638-7473-1-git-send-email-leoli@freescale.com> X-Mailer: git-send-email 1.6.6-rc1.GIT X-OriginalArrivalTime: 21 Sep 2010 10:12:33.0578 (UTC) FILETIME=[81E930A0:01CB5975] MIME-Version: 1.0 X-Reverse-DNS: de01egw02.freescale.net Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Signed-off-by: Li Yang --- 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 , 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); /*