Skip to contentSkip to conversation

opb_ethernet driver

DISCUSSION xu chen 3 participants 3 messages Jun 11, 2007 – Jun 14, 2007

lore
Share & tools
lore

xu chen

author
#0 lore raw

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附件

#1 lore raw
Quoted 3 lines · xu chen

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?

Signature · 4 lines
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
#2 lore raw
Quoted 6 lines · David Gibson
Quoted 3 lines · xu chen

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.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195