From: Ralf Baechle <ralf@oss.sgi.com>
To: "Tommy S. Christensen" <tommy.christensen@eicon.com>
Cc: Barry Wu <wqb123@yahoo.com>, linux-mips@oss.sgi.com
Subject: Re: mips ide disk dma problem
Date: Tue, 14 Aug 2001 11:03:50 +0200 [thread overview]
Message-ID: <20010814110350.A6592@bacchus.dhis.org> (raw)
In-Reply-To: <3B78DD81.39D4A69B@eicon.com>; from tommy.christensen@eicon.com on Tue, Aug 14, 2001 at 10:12:49AM +0200
On Tue, Aug 14, 2001 at 10:12:49AM +0200, Tommy S. Christensen wrote:
> vtonocache(p) is defined as KSEG1ADDR(virt_to_phys(p)).
> This is for linux-2.2.12 from MIPS, remember.
>
> > Aside it's a crude hack anyway. If you have problems with caches use
> > the API defined in Documentation/DMA-mapping.txt.
>
> I don't see why this is a hack. Sure, the Dynamic DMA
> interface is a lot cleaner, but it ends up with more or
> less the same.
Less. It's a non-portable construct which for example will fail on any
machine that uses some sort of DMA address translation. And would you
expect the maintainers to accept such a bunch of #ifdefs?
Ralf
prev parent reply other threads:[~2001-08-14 12:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-13 13:07 mips ide disk dma problem Barry Wu
2001-08-13 19:38 ` Tommy S. Christensen
2001-08-14 5:17 ` Ralf Baechle
2001-08-14 8:12 ` Tommy S. Christensen
2001-08-14 9:03 ` Ralf Baechle [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=20010814110350.A6592@bacchus.dhis.org \
--to=ralf@oss.sgi.com \
--cc=linux-mips@oss.sgi.com \
--cc=tommy.christensen@eicon.com \
--cc=wqb123@yahoo.com \
/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