From: "David S. Miller" <davem@redhat.com>
To: thunder@ngforever.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: Another DMA question
Date: Mon, 22 Jul 2002 19:54:26 -0700 (PDT) [thread overview]
Message-ID: <20020722.195426.14578063.davem@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0207222035420.3241-100000@hawkeye.luckynet.adm>
From: Thunder from the hill <thunder@ngforever.de>
Date: Mon, 22 Jul 2002 20:38:51 -0600 (MDT)
How can I get the _real_ address of a pci_map_single area, if needed? The
thing bus_to_virt() did, basically. My problem is that I have code which
changed the first byte of a buffer of stuff read via DMA, and I can't
because the previous user did bus_to_virt() to get a pointer into that. I
don't know how to get another pointer.
After all the confusion, is the question clear?
You need to keep track of the back translations yourself. See how the
various net drivers do this by keeping a RX and TX ring of the SKB
buffers mapped into the various rings.
prev parent reply other threads:[~2002-07-23 3:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-23 2:38 Thunder from the hill
2002-07-23 2:44 ` Thunder from the hill
2002-07-23 2:54 ` David S. Miller [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=20020722.195426.14578063.davem@redhat.com \
--to=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=thunder@ngforever.de \
/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
all inboxes | Powered by JetHome®