Message ID | 20221230215942.3241955-1-zenczykowski@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | usb: storage: de-quirk Seagate Expansion Portable Drive SRD00F1 [0bc2:2320] | expand |
On 30.12.22 22:59, Maciej Żenczykowski wrote: > - /* All Seagate disk enclosures have broken ATA pass-through support */ > - if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bc2) > + /* Most Seagate disk enclosures have broken ATA pass-through support */ > + if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bc2 && > + le16_to_cpu(udev->descriptor.idProduct) != 0x2320) > flags |= US_FL_NO_ATA_1X; > > usb_stor_adjust_quirks(udev, &flags); Hi, I am sorry, but no. We cannot accomodate a list of of devices to be dequirked that is sure to grow in the future. Please define a flag for these devices. Regards Oliver
diff --git a/drivers/usb/storage/uas-detect.h b/drivers/usb/storage/uas-detect.h index 3f720faa6f97..74d65810f09a 100644 --- a/drivers/usb/storage/uas-detect.h +++ b/drivers/usb/storage/uas-detect.h @@ -112,8 +112,9 @@ 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) + /* Most Seagate disk enclosures have broken ATA pass-through support */ + if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bc2 && + le16_to_cpu(udev->descriptor.idProduct) != 0x2320) flags |= US_FL_NO_ATA_1X; usb_stor_adjust_quirks(udev, &flags);