<div>No idea about sample code.</div> <div>But I think programming DMA itself is straightforward as mentioned below.</div> <div>Just ensure to use uncached physical memory for src/dest addresses. </div> <div>Then you can program your interrupt to receive the DMA completion notification.</div> <div> </div> <div>There are couple of registers like ESR, DMASR etc which you can check in case you see any issues after programming your DMA config registers which are little endian.<BR><BR><B><I>jimmy liu <jimmyzhmliu@yahoo.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">You are 100% right. MPC8260 has 4 DMA channels which<BR>can be programmed independently. Could I find some<BR>sample code from some place?<BR><BR>--- Manish Joshi <MJOSHI_BLR@YAHOO.COM>wrote:<BR><BR>> What kind of information you are looking for?<BR>> Specific questions always help.<BR>> General details you can
find in the user manual<BR>> itself. <BR>> <BR>> Not sure, but I think MPC8260 has 4 DMA channels<BR>> which can be programmed independently. You need to<BR>> set the mode registers and then the src/dest addr<BR>> registers and byte count and finally turn on the<BR>> start bit. <BR>> <BR>> <BR>> jimmy liu <JIMMYZHMLIU@YAHOO.COM>wrote:<BR>> I am working on PCI transactions between MPC8260<BR>> and<BR>> FPGA. Could somebody give me some information about<BR>> the PCI DMA Driver on MPC8260?<BR>> <BR>> Thanks.<BR>> <BR>> <BR>> __________________________________________________<BR>> Do You Yahoo!?<BR>> Tired of spam? Yahoo! Mail has the best spam<BR>> protection around <BR>> http://mail.yahoo.com <BR>> _______________________________________________<BR>> Linuxppc-embedded mailing list<BR>> Linuxppc-embedded@ozlabs.org<BR>><BR>https://ozlabs.org/mailman/listinfo/linuxppc-embedded<BR>> <BR>>
<BR>> <BR>> ---------------------------------<BR>> Want to be your own boss? Learn how on Yahoo! Small<BR>> Business. <BR><BR><BR>__________________________________________________<BR>Do You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around <BR>http://mail.yahoo.com <BR></BLOCKQUOTE><BR><p> 
        
        
                <hr size=1>Want to be your own boss? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index"> Yahoo! Small Business.</a>