Skip to content

Commit

Permalink
uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Hans de Goede authored and Greg Kroah-Hartman committed Nov 28, 2017
1 parent e43a12f commit 7fee72d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/usb/storage/uas-detect.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,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) {
Expand Down

0 comments on commit 7fee72d

Please sign in to comment.