Messages in this thread | | | Date | Thu, 8 Oct 2009 12:22:22 +0100 | From | Ian Abbott <> | Subject | Re: [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 )=-
| |