LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Please help me with my opb_ethernet driver!!!
@ 2007-09-04  1:31 xu chen
  0 siblings, 0 replies; only message in thread
From: xu chen @ 2007-09-04  1:31 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]

I have used ml403 reference board recently, and now I am porting the opb_ethernet driver downloaded from the net onto the board. I use the EDK9.1 developing environment, and the driver files like "xemac.c" are copied from the EDK drivers lib. My opb_ethernet driver can work in the "No DMA mode", but the speed of FIFO is too slow to transport big files. So I transfer to "Simple DMA mode". I configured the hardware IP core in the EDK, in details, I only changed the DMA mode of opb_ethernet IP core to "Simple DMA", and then synthesize the hardware again. After that I recompile the kernel of the new xparameters.h file. But when I ping the board, in the Recv ISR function, the result of DMA operation from Recv FIFO to kernel memory is always "DMA timed out". I checked the pdf of opb_ethernet and the ipif, but I can't find any problem, especially the manner of DMA. I can only guess that there are some problems in the hardware configuration, so who can help me about that problem?
 Thank you very much.

       
---------------------------------
 雅虎免费邮箱,全球第一邮箱品牌!

[-- Attachment #2: Type: text/html, Size: 1134 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-04  1:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-04  1:31 Please help me with my opb_ethernet driver!!! xu chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox