nvme-pci: add bogus ID quirk for ADATA SX6000PNP
authorDaniel Wagner <dwagner@suse.de>
Wed, 8 Feb 2023 16:14:35 +0000 (17:14 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 13 Feb 2023 06:04:53 +0000 (07:04 +0100)
Yet another device which needs a quirk:

 nvme nvme1: globally duplicate IDs for nsid 1
 nvme nvme1: VID:DID 10ec:5763 model:ADATA SX6000PNP firmware:V9002s94

Link: http://bugzilla.opensuse.org/show_bug.cgi?id=1207827
Reported-by: Gustavo Freitas <freitasmgustavo@gmail.com>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c

index c734934c407ccf7457350d017b4facb7e48902bb..d0ef4b549640e99e33d507c66006ff45209a3e40 100644 (file)
@@ -3423,6 +3423,8 @@ static const struct pci_device_id nvme_id_table[] = {
        { PCI_DEVICE(0x10ec, 0x5762),   /* ADATA SX6000LNP */
                .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
                                NVME_QUIRK_BOGUS_NID, },
+       { PCI_DEVICE(0x10ec, 0x5763),  /* ADATA SX6000PNP */
+               .driver_data = NVME_QUIRK_BOGUS_NID, },
        { PCI_DEVICE(0x1cc1, 0x8201),   /* ADATA SX8200PNP 512GB */
                .driver_data = NVME_QUIRK_NO_DEEPEST_PS |
                                NVME_QUIRK_IGNORE_DEV_SUBNQN, },