diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-10-25 17:04:33 +0100 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2014-03-04 15:38:16 -0800 |
commit | 79b4c06112f12c31d03cf22b1ed5ce09423fd887 (patch) | |
tree | 896bf0f47bb555951e074a88d8be7e87825f1732 /include/linux | |
parent | a82b76f7fa6154e8ab2d8071842a3e38b9c0d0ff (diff) | |
download | talos-obmc-linux-79b4c06112f12c31d03cf22b1ed5ce09423fd887.tar.gz talos-obmc-linux-79b4c06112f12c31d03cf22b1ed5ce09423fd887.zip |
uas: Add the posibilty to blacklist uas devices from using the uas driver
Once we start supporting uas hardware, and as more and more uas devices
become available, we will likely start seeing broken devices. This patch
prepares for the inevitable need for blacklisting those devices from
using the uas driver (they will use usb-storage instead).
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/usb_usual.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/usb_usual.h b/include/linux/usb_usual.h index 630356866030..1a64b26046ed 100644 --- a/include/linux/usb_usual.h +++ b/include/linux/usb_usual.h @@ -67,8 +67,10 @@ /* Initial READ(10) (and others) must be retried */ \ US_FLAG(WRITE_CACHE, 0x00200000) \ /* Write Cache status is not available */ \ - US_FLAG(NEEDS_CAP16, 0x00400000) - /* cannot handle READ_CAPACITY_10 */ + US_FLAG(NEEDS_CAP16, 0x00400000) \ + /* cannot handle READ_CAPACITY_10 */ \ + US_FLAG(IGNORE_UAS, 0x00800000) \ + /* Device advertises UAS but it is broken */ #define US_FLAG(name, value) US_FL_##name = value , enum { US_DO_ALL_FLAGS }; |