This was shipping with Fedora and possibly helped someone. However,
in light of GeneSys problem I'm seeking comment. Do we want this
in 2.4, if if yes, why? Anyone on Debian seeing any failures, for
instance? How much is a good number, 124?

-- Pete

diff -urp -X dontdiff linux-2.4.27-pre2/drivers/usb/storage/scsiglue.c 
linux-2.4.27-pre2-usb/drivers/usb/storage/scsiglue.c
--- linux-2.4.27-pre2/drivers/usb/storage/scsiglue.c    2004-05-15 22:34:34.000000000 
-0700
+++ linux-2.4.27-pre2-usb/drivers/usb/storage/scsiglue.c        2004-05-15 
23:06:11.000000000 -0700
@@ -424,6 +424,13 @@ Scsi_Host_Template usb_stor_host_templat
        can_queue:              1,
        this_id:                -1,
 
+       /*
+        * This is supposed to be an HBA limit. In our case, it is here
+        * because many _devices_ break if transfer is too long, but
+        * we know no reliable way to detect and blacklist them.
+        */
+       max_sectors:            240,
+
        sg_tablesize:           SG_ALL,
        cmd_per_lun:            1,
        present:                0,


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to