Re: [PATCH v2] ata: New PATA driver for Altera CompactFlash.

From: Ian Abbott
Date: Thu Oct 08 2009 - 07:33:32 EST


On 08/10/09 10:55, Alan Cox wrote:
> On Thu, 8 Oct 2009 09:58:30 +0800
> Thomas Chou <thomas@xxxxxxxxxxxxx> 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.
>
> Can you explain why you remove the interface rather than the device on
> the interface when you detect a card removal ?

As the originator of the driver, the only answer I have is "I don't know
how." I was hoping for inspiration from some of the other PATA CF
drivers, but alas, I couldn't find it. I admit that removing the whole
ATA host is a bit on the extreme side.

--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/