From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp138.mail.ukl.yahoo.com (smtp138.mail.ukl.yahoo.com [77.238.184.69]) by ozlabs.org (Postfix) with SMTP id 7433CB7DEF for ; Mon, 1 Mar 2010 01:08:28 +1100 (EST) From: Albert Herranz To: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org Subject: [RFC PATCH v2 6/9] powerpc: add optional per-device dmabounce support Date: Sun, 28 Feb 2010 15:07:59 +0100 Message-Id: <1267366082-15248-7-git-send-email-albert_herranz@yahoo.es> In-Reply-To: <1267366082-15248-1-git-send-email-albert_herranz@yahoo.es> References: <1267366082-15248-1-git-send-email-albert_herranz@yahoo.es> Cc: Albert Herranz List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Add support for the PowerPC architecture for using the generic dmabounce support on a per-device basis. Signed-off-by: Albert Herranz --- arch/powerpc/include/asm/device.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/device.h b/arch/powerpc/include/asm/device.h index 6d94d27..b9a47e8 100644 --- a/arch/powerpc/include/asm/device.h +++ b/arch/powerpc/include/asm/device.h @@ -28,6 +28,9 @@ struct dev_archdata { #ifdef CONFIG_SWIOTLB dma_addr_t max_direct_dma_addr; #endif +#ifdef CONFIG_DMABOUNCE + struct dmabounce_info *dmabounce; +#endif }; static inline void dev_archdata_set_node(struct dev_archdata *ad, -- 1.6.3.3