From patchwork Thu Nov 11 07:40:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 316572 X-Patchwork-Delegate: lethal@linux-sh.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAB7ehZt030980 for ; Thu, 11 Nov 2010 07:40:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757797Ab0KKHk4 (ORCPT ); Thu, 11 Nov 2010 02:40:56 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:40513 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1757793Ab0KKHk4 (ORCPT ); Thu, 11 Nov 2010 02:40:56 -0500 Received: (qmail invoked by alias); 11 Nov 2010 07:40:54 -0000 Received: from p50898DEB.dip0.t-ipconnect.de (EHLO axis700.grange) [80.137.141.235] by mail.gmx.net (mp013) with SMTP; 11 Nov 2010 08:40:54 +0100 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX19FL8skHUpFb6Tg8KaONnOy9NVztbBdjGKOn54oiV EMhLl9BvJHEXqC Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1PGRmD-0005zJ-92; Thu, 11 Nov 2010 08:40:57 +0100 Date: Thu, 11 Nov 2010 08:40:57 +0100 (CET) From: Guennadi Liakhovetski To: linux-sh@vger.kernel.org cc: linux-mmc@vger.kernel.org, Yusuke Goda , Dan Williams Subject: [PATCH 4/6] dma: shdma: increase the number of DMA descriptors and add a MODULE_ALIAS() In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 11 Nov 2010 07:40:57 +0000 (UTC) diff --git a/drivers/dma/shdma.c b/drivers/dma/shdma.c index eb6b54d..85dd0ad 100644 --- a/drivers/dma/shdma.c +++ b/drivers/dma/shdma.c @@ -39,7 +39,7 @@ enum sh_dmae_desc_status { DESC_WAITING, /* callback called, waiting for ack / re-submit */ }; -#define NR_DESCS_PER_CHANNEL 32 +#define NR_DESCS_PER_CHANNEL 64 /* Default MEMCPY transfer size = 2^2 = 4 bytes */ #define LOG2_DEFAULT_XFER_SIZE 2 @@ -1213,3 +1213,4 @@ module_exit(sh_dmae_exit); MODULE_AUTHOR("Nobuhiro Iwamatsu "); MODULE_DESCRIPTION("Renesas SH DMA Engine driver"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:sh-dma-engine");