nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM760
authorAbhijit <abhijit@abhijittomar.com>
Mon, 10 Oct 2022 08:30:05 +0000 (10:30 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Oct 2022 09:42:45 +0000 (11:42 +0200)
Add a quirk to fix Lexar NM760 SSD drives reporting duplicate nsids.

Signed-off-by: Abhijit <abhijit@abhijittomar.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c

index 5b796ef..fd2c023 100644 (file)
@@ -3527,6 +3527,8 @@ static const struct pci_device_id nvme_id_table[] = {
                .driver_data = NVME_QUIRK_BOGUS_NID, },
        { PCI_DEVICE(0x1d97, 0x2263), /* Lexar NM610 */
                .driver_data = NVME_QUIRK_BOGUS_NID, },
+       { PCI_DEVICE(0x1d97, 0x2269), /* Lexar NM760 */
+               .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),