On Thu, Jan 23, 2003 at 05:54:57PM -0700, Steven Dake wrote: > >I want: > >LLDD to SCSI: device is gone > >SCSI to LLDD: Ok. I'll handle from here on. > >LLDD: OK. I am gone. And won't have any contact until the next device is > >plugged in. > > > > > The downside of this approach is that the LLDD must now be able to > detect insertions and removals when it may not be able to do so. If it > is able to do so, then fine, it can tell upper layers about it, but the > actual control of removal of a device should occur higher up to fix > several problems with the approach of having the LLDD manage the hotswap > state of the device.
Huh? Aren't we talking about a hotplug scenario? How can you talk about the 'LLDD must now be able to detect... when it may not be able to do so.'? Oh... I see. We keep talking about devices. I'm trying to hotswap an entire host, which is mapped to a single USB device. But the theory is the same, really. In the end, you can only hotswap something that is hotswapable. That means that the driver has to support the hotswap system, whatever it is. If you can't support hotswap detection, then this entire scenario is reduced to 'what happens if I blow a FET on my HD', because it's the exact same thing. Recovering from fatal error is a separate discussion. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver A: The most ironic oxymoron wins ... DP: "Microsoft Works" A: Uh, okay, you win. -- A.J. & Dust Puppy User Friendly, 1/18/1998
msg11041/pgp00000.pgp
Description: PGP signature