On Mon, Aug 04, 2008 at 11:51:57AM -0400, Alan Stern wrote: > I tend to agree with Matt that it would be best to have the higher > layers tell usb-storage exactly how much sense data they want to get. > The problem is that these higher layers would not know about the > 18-byte restriction on many earlier USB devices, so usb-storage would > probably end up needing to make its own dynamic decisions anyway. Why not handle this like other fields in the struct scsi_device? Let the core initialize it with a value, then override it in the slave_configure() routine via unusual_devs.h flag OR via userspace command to the SCSI core? Matt -- Matthew Dharm Home: mdharm-usb@xxxxxxxxxxxxxxxxxx Maintainer, Linux USB Mass Storage Driver Sir, for the hundreth time, we do NOT carry 600-round boxes of belt-fed suction darts! -- Salesperson to Greg User Friendly, 12/30/1997
Attachment:
pgpQ5PFynSJfO.pgp
Description: PGP signature