On Thu, 19 May 2005, Artur Szymiec wrote:

> Dear Alan,
> 
> I changed the scsiglue.c file and logged again - please check it if You can.
> Also please check the attached scsiglue.c file - is this modification is 
> correct ?
> If this modification is wrong or maybe You have some night build of your
> latest usb-storage driver files - please send it to me - I would like to try 
> it.

Your modification is wrong.  The comments don't matter, but you added the 
line:

                sdev->scsi_level = SCSI_2;

at the wrong place.  It should go outside the test, like this:

        sdev->scsi_level = SCSI_2;
        if (us->flags & US_FL_FIX_CAPACITY)
                sdev->fix_capacity = 1;

> Regarding max_sectors - I tried it before and now too - without any impact.

Then the corrected patch is the only thing left to try.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to