]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
nvme-pci: Add quirk for Teamgroup MP33 SSD
authorDaniel Smith <dansmith@ds.gy>
Wed, 17 May 2023 21:32:32 +0000 (14:32 -0700)
committerKeith Busch <kbusch@kernel.org>
Fri, 19 May 2023 00:53:55 +0000 (17:53 -0700)
Add a quirk for Teamgroup MP33 that reports duplicate ids for disk.

Signed-off-by: Daniel Smith <dansmith@ds.gy>
[kch: patch formatting]
Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Tested-by: Daniel Smith <dansmith@ds.gy>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/pci.c

index 922ffe4e28222ac01effc26ab9717df1c66ceaeb..e90f824ffed84889809b686ffe91572ca1877a48 100644 (file)
@@ -3437,6 +3437,8 @@ static const struct pci_device_id nvme_id_table[] = {
                .driver_data = NVME_QUIRK_BOGUS_NID, },
        { PCI_DEVICE(0x1e4b, 0x1602), /* HS-SSD-FUTURE 2048G  */
                .driver_data = NVME_QUIRK_BOGUS_NID, },
+       { PCI_DEVICE(0x10ec, 0x5765), /* TEAMGROUP MP33 2TB SSD */
+               .driver_data = NVME_QUIRK_BOGUS_NID, },
        { PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0061),
                .driver_data = NVME_QUIRK_DMA_ADDRESS_BITS_48, },
        { PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0065),