On Sat, Nov 29, 2003 at 10:55:49AM -0500, Alan Stern wrote: > I didn't notice where this patch appeared. Patrick, can you send us a > reference for it? It's the one you wrote that removes all the MODE-SENSE > commands from sd for USB mass storage devices.
Here's the long version: http://marc.theaimsgroup.com/?l=linux-scsi&m=106883086700696&w=2 And the patch: diff -uprN -X /home/patman/dontdiff bl-25/drivers/usb/storage/scsiglue.c usb-ms-flags/drivers/usb/storage/scsiglue.c --- bl-25/drivers/usb/storage/scsiglue.c Mon Oct 27 14:28:18 2003 +++ usb-ms-flags/drivers/usb/storage/scsiglue.c Fri Nov 14 09:15:20 2003 @@ -322,7 +322,8 @@ struct scsi_host_template usb_stor_host_ .emulated = TRUE, /* modify scsi_device bits on probe */ - .flags = (BLIST_MS_SKIP_PAGE_08 | BLIST_USE_10_BYTE_MS), + .flags = (BLIST_MS_SKIP_PAGE_08 | BLIST_MS_SKIP_PAGE_3F | + BLIST_USE_10_BYTE_MS), /* module management */ .module = THIS_MODULE ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
