aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Xu <[email protected]>2018-04-26 14:59:19 -0600
committerKeith Busch <[email protected]>2018-04-26 14:00:08 -0600
commitea48e877994f086af481427bac110aa63686c3ce (patch)
treed31003d49ad28542f5d120d12d6bb2593487ece7
parent0302ae60fc2368de5c561be49e2d9ea26dd462de (diff)
nvme: lightnvm: add granby support
Add a new lightnvm quirk to identify CNEX’s Granby controller. Signed-off-by: Wei Xu <[email protected]> Reviewed-by: Javier González <[email protected]> Reviewed-by: Matias Bjørling <[email protected]> Signed-off-by: Keith Busch <[email protected]>
-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 af88f3fe2cc0..8a86dbb0583d 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -2720,6 +2720,8 @@ static const struct pci_device_id nvme_id_table[] = {
.driver_data = NVME_QUIRK_LIGHTNVM, },
{ PCI_DEVICE(0x1d1d, 0x2807), /* CNEX WL */
.driver_data = NVME_QUIRK_LIGHTNVM, },
+ { PCI_DEVICE(0x1d1d, 0x2601), /* CNEX Granby */
+ .driver_data = NVME_QUIRK_LIGHTNVM, },
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
{ PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001) },
{ PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2003) },