On Wed, Oct 23, 2002 at 09:25:05PM -0700, David Brownell wrote:
> 
> Think of it as a proof-by-induction that shutdown will work.  When
> there's a point past which no more activities can be started (like
> when device state becomes GONE), and existing activities all get
> canceled, shutdown will clearly work.  With no such point, the exotic
> failure modes can prevent shutdown from working.

Ah, good point, we can always prove "GONE" just not "PRESENT".  So yes,
a simple check in usb_submit_urb() for this would be a good thing to
have.

> Except that "GONE" can/should really mean "GONE" ... at least for USB,
> as you noted, that one is no hint.  (And presumably for all hotpluggable
> busses.)

I hope so, but am not sure about all of the different types of busses.
I sure hope that most of them create a new device when a new device is
seen, and don't try to recycle an "old" device that was previously
present.

thanks,

greg k-h


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to