From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by ozlabs.org (Postfix) with ESMTP id 29523DDF21 for ; Wed, 11 Jul 2007 04:41:33 +1000 (EST) Received: by an-out-0708.google.com with SMTP id c37so248278anc for ; Tue, 10 Jul 2007 11:41:33 -0700 (PDT) Message-ID: Date: Tue, 10 Jul 2007 11:41:32 -0700 From: "Dan Williams" Sender: dan.j.williams@gmail.com To: "Zhang Wei" Subject: Re: [PATCH 3/4] Extend the DMA-engine API. In-Reply-To: <11840607111926-git-send-email-wei.zhang@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed References: <11840607111926-git-send-email-wei.zhang@freescale.com> Cc: linuxppc-dev@ozlabs.org, akpm@linux-foundation.org, paulus@samba.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 7/10/07, Zhang Wei wrote: > Add channel wait queue and transfer callback dma_xfer_callback(). > If the DMA controller and driver support interrupt, when the > transfer is finished, it will wakeup the wait queue > and call the callback function of the channel. > > Add dma_async_raw_xfer() to API and device_raw_xfer() to struct dma_device > for RAW physical address DMA transfer, which will be used at transfer > between I/O address and memory address. > Please review the async_tx API patch series[1], it should meet your needs. What you call "raw" mode support is now default for the dmaengine driver interface. I plan to request that this series be merged for 2.6.23. Regards, Dan [1]http://marc.info/?l=linux-raid&w=2&r=1&s=md-accel&q=b