Ben Efros 1537e0ad94 USB: storage devices and SAT
Add the SANE SENSE flag to indicate that a device is capable of handling
more than 18-bytes of sense data.  This functionality is required for
USB-ATA bridges implementing SAT.  A future patch will actually enable this
function for several devices.

The logic behind this is that we can detect support for SANE_SENSE in a few ways:
 1) ATA PASS THROUGH (12) or (16) execute successfully
 2) SPC-3 or higher is in use
 3) A previous CHECK CONDITION occurred with sense format 70-73 and had
    a length greater than 18-bytes total

Signed-off-by: Ben Efros <ben@pc-doctor.com>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07 09:59:55 -08:00
..
2009-01-06 18:10:28 -08:00
2009-01-06 18:10:28 -08:00
2009-01-06 18:10:27 -08:00
2009-01-06 18:10:29 -08:00
2008-12-25 11:05:13 +11:00
2008-11-14 10:39:13 +11:00
2009-01-07 09:59:55 -08:00
2008-10-22 22:09:59 -07:00
2009-01-07 09:58:22 +11:00
2008-12-16 21:50:31 +01:00