Alan Stern wrote:
On Tue, 12 Oct 2004, Michael Tokarev wrote:
[]
The real purpose of the SINGLE_LUN flag is to prevent scanning for more than one LUN when the device only has one but has no way to tell us that. Especially when the device doesn't fail commands with LUN > 0.

Aha. So it is somewhat confusingly named then. I thought it means "this device have single lun only, end of story" - so there's no point at probing how many luns it really have. That to say: current code, if a device is marked as SINGLE_LUN, *and* GetMaxLun returns something >0 (ie, the device will successefully(?) reply to GetMaxLun request), not only the single lun will be probed (for bulk devices anyway). Maybe DEFAULT_TO_SINGLE_LUN? ;-P

/mjt


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to