Skip to contentSkip to conversation

uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices

PATCH New Hans de Goede 1 participant 1 message Nov 14, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices

We've been adding this as a quirk on a per device basis hoping that newer disk enclosures would do better, but that has not happened, so simply apply this quirk to all Seagate devices.

---
 drivers/usb/storage/uas-detect.h | 4 ++++
 1 file changed, 4 insertions(+)
drivers/usb/storage/uas-detect.h +4 -0
index a155cd02bce2..ecc83c405a8b 100644
@@ -111,6 +111,10 @@ static int uas_use_uas_driver(struct usb_interface *intf,
 		}
 	}
 
+	/* All Seagate disk enclosures have broken ATA pass-through support */
+	if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bc2)
+		flags |= US_FL_NO_ATA_1X;
+
 	usb_stor_adjust_quirks(udev, &flags);
 
 	if (flags & US_FL_IGNORE_UAS) {
Signature · 1 line
2.14.3