All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: SH ATAPI IDE Driver
Date: Wed, 28 Oct 2009 09:26:32 +0000	[thread overview]
Message-ID: <20091028092632.GB13259@linux-sh.org> (raw)
In-Reply-To: <32390a840910052042t64346e53w1bfb3473c7b2284b@mail.gmail.com>

On Wed, Oct 28, 2009 at 05:07:23PM +0900, ivy kim wrote:
> > For starters, no new drivers should be written aimed at drivers/ide,
> > libata is what you should be working with instead, aiming your driver at
> > drivers/ata (you can see many other pata drivers there for examples on
> > getting started, including ones that deal with ATAPI).
> >
> Although it's late, thank you for the answer. I managed to make IDE working.
> But this is just PIO mode, and now I'm checking DMA mode but I read
> the following article before, so I want to check if I should use
> latest source code if the below mentioned DMA engine work is done.
> For now, I'm using 'sh-2.6-2009-06-08-ms7724se-2.6.30-rc6'
> 
> Later on, I'll post at linux-ide mailing list...
> 
Yes, the dmaengine bits are merged upstream, although presently it's only
enabled for sh7722 and sh7780. Getting it working for SH7724 should be
pretty trivial, since it shouldn't really need much modification over the
SH7722 support (which you can see in arch/sh/kernel/cpu/sh4a/setup-sh7722.c).

If you fetch any recent kernel (ie, 2.6.31 or later) support is
available, and should give you a stable platform for doing your driver
development on.

      parent reply	other threads:[~2009-10-28  9:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-06  3:42 SH ATAPI IDE Driver ivy kim
2009-10-06  4:07 ` Paul Mundt
2009-10-28  8:07 ` ivy kim
2009-10-28  9:26 ` Paul Mundt [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=20091028092632.GB13259@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.