uas: Add a quirk for rejecting ATA_12 and ATA_16 commands
[firefly-linux-kernel-4.4.55.git] / include / linux / usb_usual.h
index 9b7de1b4643775c7501c613e454a64c1c4e209d6..d271f88f30addd3e47fc139bc899371ca9fece85 100644 (file)
@@ -73,6 +73,8 @@
                /* Device advertises UAS but it is broken */    \
        US_FLAG(BROKEN_FUA,     0x01000000)                     \
                /* Cannot handle FUA in WRITE or READ CDBs */   \
+       US_FLAG(NO_ATA_1X,      0x02000000)                     \
+               /* Cannot handle ATA_12 or ATA_16 CDBs */       \
 
 #define US_FLAG(name, value)   US_FL_##name = value ,
 enum { US_DO_ALL_FLAGS };