From [EMAIL PROTECTED] Fri Dec 5 07:16:54 2003 > 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. This Apacer device is a CF+SM reader. The CF part works with datafab.c. The SM part works with sddr55.c. The vanilla kernel has no support for the situation where two luns require two different drivers. Somewhere in the archives I have two solutions, one rather general, and mdharm did not like it because it would add code for everybody and in his experience multiple lun was the exception, and then I wrote a small twoluns.c precisely for this situation (I have lots of devices, N-in-1 readers, with two luns, very few with more.) Must dig this up again one of these days. Andries ------------------------------------------------------- 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