From: Jeff Garzik <jeff@garzik.org>
To: Thomas Chou <thomas@wytron.com.tw>
Cc: linux-ide@vger.kernel.org,
Nios2 development list <nios2-dev@sopc.et.ntust.edu.tw>,
linux-kernel@vger.kernel.org, Ian Abbott <abbotti@mev.co.uk>
Subject: Re: [PATCH v2] ata: New PATA driver for Altera CompactFlash.
Date: Thu, 19 Nov 2009 18:27:07 -0500 [thread overview]
Message-ID: <4B05D44B.9010606@garzik.org> (raw)
In-Reply-To: <1254967110-3495-1-git-send-email-thomas@wytron.com.tw>
On 10/07/2009 09:58 PM, Thomas Chou wrote:
> This patch adds a new PATA driver to support the Altera SOPC Builder
> CompactFlash component as a PATA device with support for insertion
> and removal of CF cards. It uses the platform driver model.
>
> For each probed platform device, the driver spawns a kthread to
> handle insertion and removal of CF cards by creating and removing the
> underlying ATA host interface. The Altera CompactFlash component
> includes a register bit to indicate whether a CF card is detected
> and an interrupt triggered when this bit changes. The driver has a
> handler for this interrupt which flags that something has changed and
> wakes up the kthread to deal with it.
>
> The platform device uses 2 IORESOURCE_MEM resources and 2
> IORESOURCE_IRQ resources. The first memory resource is for the
> CompactFlash component's IDE registers and the second is for the
> component's CF status and control registers. The first IRQ resource
> is for the IDE and the second is for the CF detection interrupt.
>
> Signed-off-by: Ian Abbott<abbotti@mev.co.uk>
> Signed-off-by: Thomas Chou<thomas@wytron.com.tw>
> ---
> drivers/ata/Kconfig | 11 +
> drivers/ata/Makefile | 1 +
> drivers/ata/pata_altera_cf.c | 582 ++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 594 insertions(+), 0 deletions(-)
> create mode 100644 drivers/ata/pata_altera_cf.c
Ping... still waiting on v3, updated with Alan's feedback.
prev parent reply other threads:[~2009-11-19 23:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-08 1:58 [PATCH v2] ata: New PATA driver for Altera CompactFlash Thomas Chou
2009-10-08 9:55 ` Alan Cox
2009-10-08 9:55 ` Alan Cox
2009-10-08 11:22 ` Ian Abbott
2009-10-08 13:12 ` Alan Cox
2009-11-19 23:27 ` Jeff Garzik [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=4B05D44B.9010606@garzik.org \
--to=jeff@garzik.org \
--cc=abbotti@mev.co.uk \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nios2-dev@sopc.et.ntust.edu.tw \
--cc=thomas@wytron.com.tw \
/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.