<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR>
<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Verdana;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
 /* Page Definitions */
 @page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Verdana color=#0000ff size=2>Hi John,</FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#0000ff size=2>Did you use DMA driver in our FEC 
driver before?</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#0000ff size=2>Best Regards,</FONT></DIV>
<DIV align=left>
<DIV align=left><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT face=Verdana size=2>Hongjun Chen</FONT></DIV>
<DIV><FONT face=Verdana size=2>2009-05-20</FONT></FONT></DIV></DIV>
<DIV><FONT face=Verdana size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发件人:</STRONG> Piotr 
Zięcik</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发送时间:</STRONG> 
2009-05-19&nbsp;16:05:05</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>收件人:</STRONG> Hongjun 
Chen</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>抄送:</STRONG> Wolfgang Denk; 
linuxppc-dev@ozlabs.org</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>主题:</STRONG> Re: [PATCH 11/12] 
mpc5121: Added MPC512x DMA driver.</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Tuesday&nbsp;19&nbsp;May&nbsp;2009&nbsp;03:37:47&nbsp;Hongjun&nbsp;Chen&nbsp;wrote:</DIV>
<DIV>&gt;&nbsp;Since&nbsp;you&nbsp;have&nbsp;reuse&nbsp;most&nbsp;part&nbsp;of&nbsp;our&nbsp;BSP,&nbsp;why&nbsp;should&nbsp;you&nbsp;reinvent&nbsp;wheel</DIV>
<DIV>&gt;&nbsp;for&nbsp;MPC512x&nbsp;DMA?&nbsp;We&nbsp;have&nbsp;one&nbsp;ready&nbsp;DMA&nbsp;driver,&nbsp;which&nbsp;has&nbsp;been&nbsp;used&nbsp;by&nbsp;AC97,</DIV>
<DIV>&gt;&nbsp;ATA,&nbsp;VIU&nbsp;etc.</DIV>
<DIV>&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Answer&nbsp;is&nbsp;simple.&nbsp;The&nbsp;old&nbsp;one&nbsp;does&nbsp;not&nbsp;fit&nbsp;Linux&nbsp;DMA&nbsp;API.&nbsp;New&nbsp;one&nbsp;uses&nbsp;</DIV>
<DIV>existing&nbsp;infrastructure&nbsp;which&nbsp;makes&nbsp;DMA&nbsp;engine&nbsp;aviable&nbsp;for&nbsp;existing&nbsp;consumers</DIV>
<DIV>in&nbsp;Linux&nbsp;kernel.&nbsp;For&nbsp;example&nbsp;network&nbsp;stack.&nbsp;Support&nbsp;for&nbsp;I/O&nbsp; 
&lt;- &gt;&nbsp;memory&nbsp;</DIV>
<DIV>transfers&nbsp;will&nbsp;be&nbsp;added&nbsp;when&nbsp;more&nbsp;consumers&nbsp;arrive.</DIV>
<DIV>&nbsp;</DIV>
<DIV>--&nbsp;</DIV>
<DIV>Best&nbsp;Regards.</DIV>
<DIV>Piotr&nbsp;Zięcik</DIV></FONT></DIV></BODY></HTML>