lkml.org 
[lkml]   [2004]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: custom Pci netdevice using DMA
RANDAZZO@ddc-web.com wrote:
> 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???


Documentation/DMA-mapping.txt, Documentation/DMA-API.txt

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.024 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site