From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 3D047DE153 for ; Wed, 20 May 2009 10:40:00 +1000 (EST) Received: from de01smr02.am.mot.com (de01smr02.freescale.net [10.208.0.151]) by az33egw02.freescale.net (8.14.3/az33egw02) with ESMTP id n4K0dhVv022269 for ; Tue, 19 May 2009 17:39:55 -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 n4K0dfWC020013 for ; Tue, 19 May 2009 19:39:42 -0500 (CDT) Date: Wed, 20 May 2009 08:39:37 +0800 From: "=?utf-8?B?SG9uZ2p1biBDaGVu?=" To: "=?utf-8?B?UGlvdHIgWmnEmWNpaw==?=" , "=?utf-8?B?Sm9obiBSaWdieQ==?=" References: <1241640919-4650-12-git-send-email-wd@denx.de> <200905190937411866001@freescale.com> <200905191003.42964.kosmo@semihalf.com> Subject: =?utf-8?B?UmU6IFJlOiBbUEFUQ0ggMTEvMTJdIG1wYzUxMjE6IEFkZGVkIE1QQzUxMnggRE1BIGRyaXZlci4=?= Message-ID: <200905200839363701969@freescale.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====003_Dragon718532387783_=====" Cc: =?utf-8?B?bGludXhwcGMtZGV2QG96bGFicy5vcmc=?= , =?utf-8?B?V29sZmdhbmcgRGVuaw==?= List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --=====003_Dragon718532387783_===== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi John, Did you use DMA driver in our FEC driver before? Best Regards, Hongjun Chen 2009-05-20 发件人: Piotr Zięcik 发送时间: 2009-05-19 16:05:05 收件人: Hongjun Chen 抄送: Wolfgang Denk; linuxppc-dev@ozlabs.org 主题: Re: [PATCH 11/12] mpc5121: Added MPC512x DMA driver. Tuesday 19 May 2009 03:37:47 Hongjun Chen wrote: > Since you have reuse most part of our BSP, why should you reinvent wheel > for MPC512x DMA? We have one ready DMA driver, which has been used by AC97, > ATA, VIU etc. > Answer is simple. The old one does not fit Linux DMA API. New one uses existing infrastructure which makes DMA engine aviable for existing consumers in Linux kernel. For example network stack. Support for I/O <- > memory transfers will be added when more consumers arrive. -- Best Regards. Piotr Zięcik --=====003_Dragon718532387783_===== Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit 
Hi John,
 
Did you use DMA driver in our FEC driver before?
 
Best Regards,

Hongjun Chen
2009-05-20

发件人: Piotr Zięcik
发送时间: 2009-05-19 16:05:05
收件人: Hongjun Chen
抄送: Wolfgang Denk; linuxppc-dev@ozlabs.org
主题: Re: [PATCH 11/12] mpc5121: Added MPC512x DMA driver.
 
Tuesday 19 May 2009 03:37:47 Hongjun Chen wrote:
> Since you have reuse most part of our BSP, why should you reinvent wheel
> for MPC512x DMA? We have one ready DMA driver, which has been used by AC97,
> ATA, VIU etc.
>
 
Answer is simple. The old one does not fit Linux DMA API. New one uses 
existing infrastructure which makes DMA engine aviable for existing consumers
in Linux kernel. For example network stack. Support for I/O  <- > memory 
transfers will be added when more consumers arrive.
 
-- 
Best Regards.
Piotr Zięcik
--=====003_Dragon718532387783_=====--