public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* custom Pci netdevice using DMA
@ 2004-03-03 14:13 RANDAZZO
  2004-03-03 17:31 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: RANDAZZO @ 2004-03-03 14:13 UTC (permalink / raw)
  To: linux-kernel

All:

I have a PCI device (uses DMA), that was originally designed for an RTOS...

The device takes physical host address pointers (written to the card via bar
space).

When data is received from the network, the pci card will DMA the data
directly to the
host asynchronously....

after a certain amt of data is received, an interrupt is gen'd and the host
goes and looks at the data..

For transmitting, the host gives the pci device a physical host address
value and the pci device will DMA the
data, from the host, that is pointed to......

...............................
This above design does not work in Linux 2.4.  I understand that I must use
the dma functions (pci_alloc_*,
virt_to_bus, etc), but can't figure out what is the best way???

Any help?
Feel free to ask more details if needed.....

-Mike

 
"This message may contain company proprietary information. If you are not
the intended recipient, any disclosure, copying, distribution or reliance on
the contents of this message is prohibited. If you received this message in
error, please delete and notify me."


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

end of thread, other threads:[~2004-03-03 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-03 14:13 custom Pci netdevice using DMA RANDAZZO
2004-03-03 17:31 ` Jeff Garzik

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