| To: | "Tommy S. Christensen" <tommy.christensen@eicon.com> |
|---|---|
| Subject: | Re: mips ide disk dma problem |
| From: | Ralf Baechle <ralf@oss.sgi.com> |
| Date: | Tue, 14 Aug 2001 11:03:50 +0200 |
| Cc: | Barry Wu <wqb123@yahoo.com>, linux-mips@oss.sgi.com |
| In-reply-to: | <3B78DD81.39D4A69B@eicon.com>; from tommy.christensen@eicon.com on Tue, Aug 14, 2001 at 10:12:49AM +0200 |
| References: | <20010813130729.37581.qmail@web13908.mail.yahoo.com> <3B782CB0.AA24C7C8@eicon.com> <20010814071718.A5552@bacchus.dhis.org> <3B78DD81.39D4A69B@eicon.com> |
| Sender: | owner-linux-mips@oss.sgi.com |
| User-agent: | Mutt/1.2.5i |
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 in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: SysV IPC shared memory and virtual alising, Ralf Baechle |
|---|---|
| Next by Date: | Re: Is it possible to boot linux on an O2 r5k ?, Ralf Baechle |
| Previous by Thread: | Re: mips ide disk dma problem, Tommy S. Christensen |
| Next by Thread: | [patch] linux 2.4.5: Additional DEC memory configuration macros, Maciej W. Rozycki |
| Indexes: | [Date] [Thread] [Top] [All Lists] |