LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: xu chen <chenxurcy@yahoo.com.cn>
To: linuxppc-dev@ozlabs.org
Subject: Please help me with my opb_ethernet driver!!!
Date: Tue, 4 Sep 2007 09:31:24 +0800 (CST)	[thread overview]
Message-ID: <674410.87879.qm@web15603.mail.cnb.yahoo.com> (raw)

[-- 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 --]

                 reply	other threads:[~2007-09-04  1:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=674410.87879.qm@web15603.mail.cnb.yahoo.com \
    --to=chenxurcy@yahoo.com.cn \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox