Subject: Re: sudden detach
To: None <tech-kern@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: tech-kern
Date: 07/11/2006 12:18:04
On Tue, Jul 04, 2006 at 03:23:02PM +0200, Jachym Holecek wrote:
> If we can agree to require user intervention before removing hotplug
> devices (which is what Windows XP does, not sure about other systems),
> then we "should" get rid of ca_activate (as we know it now, anyway).
> There was a short thread on this recently, the argument for keeping
> them was exactly "we need a quick deactivation from hardintr when
> we get a device-gone interrupt".

I have always considered it a bug in Windows XP that the user has to
intervene before a device can be removed.  I thought that both USB and
Cardbus were designed to make a sudden detach possible?  In principle,
can't a carefully written driver survive a sudden detach?

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933