usb-storage/SCSI: Add broken_fua blacklist flag
Some buggy JMicron USB-ATA bridges don't know how to translate the FUA bit in READs or WRITEs. This patch adds an entry in unusual_devs.h and a blacklist flag to tell the sd driver not to use FUA. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: Michael Büsch <m@bues.ch> Tested-by: Michael Büsch <m@bues.ch> Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com> CC: Matthew Dharm <mdharm-usb@one-eyed-alien.net> CC: <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
ba1ba3a4ed
commit
b14bf2d0c0
@@ -70,7 +70,9 @@
|
||||
US_FLAG(NEEDS_CAP16, 0x00400000) \
|
||||
/* cannot handle READ_CAPACITY_10 */ \
|
||||
US_FLAG(IGNORE_UAS, 0x00800000) \
|
||||
/* Device advertises UAS but it is broken */
|
||||
/* Device advertises UAS but it is broken */ \
|
||||
US_FLAG(BROKEN_FUA, 0x01000000) \
|
||||
/* Cannot handle FUA in WRITE or READ CDBs */ \
|
||||
|
||||
#define US_FLAG(name, value) US_FL_##name = value ,
|
||||
enum { US_DO_ALL_FLAGS };
|
||||
|
Reference in New Issue
Block a user