mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
commit 7fee72d5e8 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3f7477e644
commit
636b080991
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user