Skip to content

Commit 2cf7a77

Browse files
keithbuschChristoph Hellwig
authored andcommitted
nvme-pci: phison e12 has bogus namespace ids
Add the quirk. Link: https://bugzilla.kernel.org/show_bug.cgi?id=216049 Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 3765fad commit 2cf7a77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/nvme/host/pci.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3461,6 +3461,8 @@ static const struct pci_device_id nvme_id_table[] = {
34613461
.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY |
34623462
NVME_QUIRK_DISABLE_WRITE_ZEROES|
34633463
NVME_QUIRK_IGNORE_DEV_SUBNQN, },
3464+
{ PCI_DEVICE(0x1987, 0x5012), /* Phison E12 */
3465+
.driver_data = NVME_QUIRK_BOGUS_NID, },
34643466
{ PCI_DEVICE(0x1987, 0x5016), /* Phison E16 */
34653467
.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, },
34663468
{ PCI_DEVICE(0x1b4b, 0x1092), /* Lexar 256 GB SSD */

0 commit comments

Comments
 (0)