From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from venus.billgatliff.com (venus.billgatliff.com [209.251.101.201]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C721ADDF53 for ; Fri, 7 Nov 2008 05:36:58 +1100 (EST) Message-ID: <4913394A.9040103@billgatliff.com> Date: Thu, 06 Nov 2008 12:36:58 -0600 From: Bill Gatliff MIME-Version: 1.0 To: Scott Wood Subject: Re: Using DMA References: <49133792.9080000@freescale.com> In-Reply-To: <49133792.9080000@freescale.com> Content-Type: text/plain; charset=ISO-8859-1 Cc: Bruce_Leonard@selinc.com, linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Scott Wood wrote: > Bruce_Leonard@selinc.com wrote: >> In the Cafe driver, Linux Device Drivers 3rd Edition, and >> DMA-mapping.txt everyone talks about how to allocate buffers using >> dma/pci_alloc_coherent(), but no one talks about how to actually use >> it. I'm pretty sure (even in my ignorance) that just allocating a DMA >> coherent buffer and then copying in and out of it does NOT actually >> engage the underlying hardware and perform a DMA transfer. Does the "adma" stuff address this any? b.g. -- Bill Gatliff bgat@billgatliff.com