Re: [PATCH][SCS] sd: Read Capacity if (16) fails

From: James Bottomley
Date: Wed Aug 06 2008 - 13:37:29 EST


On Wed, 2008-08-06 at 13:32 -0400, Martin K. Petersen wrote:
> >>>>> "Hugh" == Hugh Dickins <hugh@xxxxxxxxxxx> writes:
>
> Hugh> Almost: I had to #include <scsi/scsi.h> to get SCSI_2 for the
> Hugh> build somewhere (and a SCSI_2 seems to be worth 1 more than
> Hugh> anyone else's 2), then it worked just fine for me thanks.
>
> The DIF drives in question claim rev. 3 and are configured correctly
> with James' patch in place.
>
> Acked-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

OK, so this is the solution until we get USB devices claiming SCSI-3 and
mucking with the protection bit ...

James


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/