Linux MIPS Architecture development
 help / color / mirror / Atom feed
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 07:17:19 +0200	[thread overview]
Message-ID: <20010814071718.A5552@bacchus.dhis.org> (raw)
In-Reply-To: <3B782CB0.AA24C7C8@eicon.com>; from tommy.christensen@eicon.com on Mon, Aug 13, 2001 at 09:38:24PM +0200

On Mon, Aug 13, 2001 at 09:38:24PM +0200, Tommy S. Christensen wrote:

> Barry Wu wrote:
> > I meet problems about mips ide disk. I find dma mode
> > is different from other platform. We have to use
> > dma_cache_wback_inv and vtonocache functions to work
> > under DMA mode, I read pcnet32 ethernet driver,
> > it works like that. I do not know if I have to support
> > ide disk dma, what I have to do?
> 
> Some MIPS'ification is needed to handle the caches.
> You can try the patch below to drivers/block/ide-dma.c.
> 
> I don't know about your IDE controller (our board have 
> a CMD PCI-648), but it may need some special handling also.

You're referencing a function that doesn't exist in the whole kernel.
Aside it's a crude hack anyway.  If you have problems with caches use
the API defined in Documentation/DMA-mapping.txt.

  Ralf

  reply	other threads:[~2001-08-14  5:19 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 [this message]
2001-08-14  8:12     ` Tommy S. Christensen
2001-08-14  9:03       ` Ralf Baechle

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=20010814071718.A5552@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