summary refs log tree commit diff
path: root/drivers/nvme
diff options
context:
space:
mode:
authorTobias Gruetzmacher <tobias-git@23.gs>2022-07-22 19:05:57 +0200
committerChristoph Hellwig <hch@lst.de>2022-07-25 07:34:07 +0200
commitd6c52fa3e955b97f8eb3ac824d2a3e0af147b3ce (patch)
treee368d405febd9cbc15720d15f68959d69735c7bb /drivers/nvme
parent82e094f7bd988c02df27f8c8d81af8f750660b2a (diff)
downloadlinux-d6c52fa3e955b97f8eb3ac824d2a3e0af147b3ce.tar.gz
nvme-pci: Crucial P2 has bogus namespace ids
This adds a quirk for the Crucial P2.

Signed-off-by: Tobias Gruetzmacher <tobias-git@23.gs>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/host/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 58c72d55769a..73d9fcba3b1c 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3515,6 +3515,8 @@ static const struct pci_device_id nvme_id_table[] = {
 		.driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1e49, 0x0041),   /* ZHITAI TiPro7000 NVMe SSD */
 		.driver_data = NVME_QUIRK_NO_DEEPEST_PS, },
+	{ PCI_DEVICE(0xc0a9, 0x540a),   /* Crucial P2 */
+		.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),