Another problem causing hangs was that the SCSI code does TEST_UNIT_READY, and datafab.c first wants to determine which lun it is using, and tries to find out, but the attempt fails and causes scsi error-recovery, but that does TEST_UNIT_READY and we have a recursion. Below a patch fixing both problems. Now my two-lun device works for CF and it works for SM but not both - depending on the order of the entries in unusual_devices.
Why not? Can't we just use "srb->device->lun" (and enabling CONFIG_SCSI_MULTI_LUN)? This is puzzling me.
eduard.
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
