LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Naru Sundar <nsundar@fulcrummicro.com>
To: linuxppc-embedded@ozlabs.org
Subject: ppc85xx DMA
Date: Mon, 5 Jun 2006 17:55:35 -0700	[thread overview]
Message-ID: <20060606005535.GB18144@fulcrummicro.com> (raw)

Dear sirs,

I am trying to add a DMA transfer component to my driver on linux 2.6 on a
ppc 8541.  Following the steps listed in the reference manual, I write the
SAR, SATR, DAR, DATR and BCR registers before cycling the bit in the MR
register to start the transfer.

The SR register though indicates a transfer error as soon as I write the
DAR register.  Clearly I've gotten the mapping wrong. I know what the
address I am trying to write to in kernel space is, what is unclear is
what address the DAR register is expecting.

Any help would be appreciated

-naru

             reply	other threads:[~2006-06-06  0:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-06  0:55 Naru Sundar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-06-06  1:39 ppc85xx DMA Liu Dave-r63238
2006-06-06 18:55 ` Naru Sundar
2006-06-06 21:16   ` Naru Sundar
2006-06-06 21:38     ` Naru Sundar

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=20060606005535.GB18144@fulcrummicro.com \
    --to=nsundar@fulcrummicro.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /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