lkml.org 
[lkml]   [2009]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] ata: New PATA driver for Altera CompactFlash.
On 08/10/09 10:55, Alan Cox wrote:
> On Thu, 8 Oct 2009 09:58:30 +0800
> Thomas Chou <thomas@wytron.com.tw> 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@mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-


\
 
 \ /
  Last update: 2009-10-08 13:41    [W:0.112 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site