Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Gerald Champagne <gerald.champagne@esstech.com>
To: linux-mips@oss.sgi.com
Subject: ide dma in latest cvs
Date: Mon, 21 Jan 2002 17:48:24 -0600	[thread overview]
Message-ID: <3C4CA8C8.5010801@esstech.com> (raw)

Does the latest CVS version work with an IDE controller in DMA mode?

I have an NEC VR5432 based system working with the IDE controller, but it
crashes when used in dma mode.  I've tracked it down to the following code
called from ide_build_sglist():

- blk_rq_map_sg() is called to build a list of blocks to be transferred.
   It sets address = NULL for every entry (other fields like "page" are
   set to valid values).

- dma_cache_wback_inv(addr, size) is called for each block entry.  This
   routine crashes because the address parameter is always set to zero
   when the routine is called.

I see that this is part of the new bio code recently added.  Should I expect
this code to work, or is it not yet working for the mips platform?

Thanks.

Gerald

             reply	other threads:[~2002-01-22  0:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-21 23:48 Gerald Champagne [this message]
2002-01-22 11:33 ` ide dma in latest cvs Vivien Chappelier
2002-01-22 19:00 ` Jun Sun
2002-01-22 20:03   ` Gerald Champagne

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=3C4CA8C8.5010801@esstech.com \
    --to=gerald.champagne@esstech.com \
    --cc=linux-mips@oss.sgi.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