lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4B05D44B.9010606@garzik.org>
Date:	Thu, 19 Nov 2009 18:27:07 -0500
From:	Jeff Garzik <jeff@...zik.org>
To:	Thomas Chou <thomas@...ron.com.tw>
CC:	linux-ide@...r.kernel.org,
	Nios2 development list <nios2-dev@...c.et.ntust.edu.tw>,
	linux-kernel@...r.kernel.org, Ian Abbott <abbotti@....co.uk>
Subject: Re: [PATCH v2] ata: New PATA driver for Altera CompactFlash.

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@....co.uk>
> Signed-off-by: Thomas Chou<thomas@...ron.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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ