linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* opb_ethernet driver
@ 2007-06-11  2:37 xu chen
  2007-06-12  3:45 ` David Gibson
  0 siblings, 1 reply; 4+ messages in thread
From: xu chen @ 2007-06-11  2:37 UTC (permalink / raw)
  To: linuxppc-dev

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

Hello.
      I'm porting an opb_ethernet driver to my ml403 board now, using the 2.6.17 kernel. I know the ethernet support 3 mode: No DMA, simple DMA, scatter gather DMA, when I use the No DMA mode, we can write the skb into the FIFO, but can't ping other PCs in the network. When I use the simple DMA mode, at the time of ping, in the driver, we should initialize the DMA channel, but when transfering the skb, the DMA returns a "DMA bus time out" signal. 
     Now I'm worry about it. Who had encountered the problem before? I think I need some help.

 		
---------------------------------
 雅虎免费邮箱-3.5G容量,20M附件

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* opb_ethernet driver
@ 2007-06-11  2:47 xu chen
  0 siblings, 0 replies; 4+ messages in thread
From: xu chen @ 2007-06-11  2:47 UTC (permalink / raw)
  To: linuxppc-embedded

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


Hello.
      I'm porting an opb_ethernet driver to my ml403 board now, using the 2.6.17 kernel. I know the ethernet support 3 mode: No DMA, simple DMA, scatter gather DMA, when I use the No DMA mode, we can write the skb into the FIFO, but can't ping other PCs in the network. When I use the simple DMA mode, at the time of ping, in the driver, we should initialize the DMA channel, but when transfering the skb, the DMA returns a "DMA bus time out" signal.
     Now I'm worry about it. Who had encountered the problem before? I think I need some help.




       
---------------------------------
抢注雅虎免费邮箱3.5G容量,20M附件! 

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: opb_ethernet driver
  2007-06-11  2:37 opb_ethernet driver xu chen
@ 2007-06-12  3:45 ` David Gibson
  2007-06-14  6:13   ` Grant Likely
  0 siblings, 1 reply; 4+ messages in thread
From: David Gibson @ 2007-06-12  3:45 UTC (permalink / raw)
  To: xu chen; +Cc: linuxppc-dev

On Mon, Jun 11, 2007 at 10:37:55AM +0800, xu chen wrote:
> Hello.
>       I'm porting an opb_ethernet driver to my ml403 board now, using the 2.6.17 kernel. I know the ethernet support 3 mode: No DMA, simple DMA, scatter gather DMA, when I use the No DMA mode, we can write the skb into the FIFO, but can't ping other PCs in the network. When I use the simple DMA mode, at the time of ping, in the driver, we should initialize the DMA channel, but when transfering the skb, the DMA returns a "DMA bus time out" signal. 
>      Now I'm worry about it. Who had encountered the problem before? I think I need some help.

What's an opb_ethernet?

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: opb_ethernet driver
  2007-06-12  3:45 ` David Gibson
@ 2007-06-14  6:13   ` Grant Likely
  0 siblings, 0 replies; 4+ messages in thread
From: Grant Likely @ 2007-06-14  6:13 UTC (permalink / raw)
  To: xu chen, linuxppc-dev

On 6/11/07, David Gibson <david@gibson.dropbear.id.au> wrote:
> On Mon, Jun 11, 2007 at 10:37:55AM +0800, xu chen wrote:
> > Hello.
> >       I'm porting an opb_ethernet driver to my ml403 board now, using the 2.6.17 kernel. I know the ethernet support 3 mode: No DMA, simple DMA, scatter gather DMA, when I use the No DMA mode, we can write the skb into the FIFO, but can't ping other PCs in the network. When I use the simple DMA mode, at the time of ping, in the driver, we should initialize the DMA channel, but when transfering the skb, the DMA returns a "DMA bus time out" signal.
> >      Now I'm worry about it. Who had encountered the problem before? I think I need some help.
>
> What's an opb_ethernet?

In this context, it's a Xilinx Ethernet IP core implemented in an FPGA
and connected to the OPB bus.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-14  6:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-11  2:37 opb_ethernet driver xu chen
2007-06-12  3:45 ` David Gibson
2007-06-14  6:13   ` Grant Likely
  -- strict thread matches above, loose matches on Subject: below --
2007-06-11  2:47 xu chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).