From: Matthew Dharm <[EMAIL PROTECTED]> > But us->extra can only hold a single value.
This isn't really true. If you implement them as different LUNs on the same unit, the SCSI layer won't allow them to both have a command active at once. Besides, the control thread for the unit will serialize the commands. OK. Still, such solutions (have a struct with two pointers and two destructor routines in us->extra; have the driver copy this to some local variables and replace us->extra when it calls the subdriver to do the work, and restore things again when the subdriver is done) feel extremely fragile and kludgy. You are not really suggesting the above? Andries _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel