From: Jeff Garzik <jgarzik@pobox.com>
To: RANDAZZO@ddc-web.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: custom Pci netdevice using DMA
Date: Wed, 03 Mar 2004 12:31:10 -0500 [thread overview]
Message-ID: <4046165E.1000802@pobox.com> (raw)
In-Reply-To: <89760D3F308BD41183B000508BAFAC4104B16FC0@DDCNYNTD>
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
prev parent reply other threads:[~2004-03-03 17:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 14:13 custom Pci netdevice using DMA RANDAZZO
2004-03-03 17:31 ` Jeff Garzik [this message]
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=4046165E.1000802@pobox.com \
--to=jgarzik@pobox.com \
--cc=RANDAZZO@ddc-web.com \
--cc=linux-kernel@vger.kernel.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