summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2012-12-06 15:36:24 +0000
committerjimharris <jimharris@FreeBSD.org>2012-12-06 15:36:24 +0000
commitd07e85d7653de90b410b16da6d07ac99993e3654 (patch)
tree873a09352463eb2af2cd61463bf1b5b50575ad99
parent0777f694d39d1fa04a7cff934b61fe47165f47ac (diff)
downloadFreeBSD-src-d07e85d7653de90b410b16da6d07ac99993e3654.zip
FreeBSD-src-d07e85d7653de90b410b16da6d07ac99993e3654.tar.gz
Add PCI device ID for 8-channel IDT NVMe controller, and clarify that the
previously defined IDT PCI device ID was for a 32-channel controller. Submitted by: Joe Golio <joseph.golio@isilon.com>
-rw-r--r--sys/dev/nvme/nvme.c3
-rw-r--r--sys/dev/nvme/nvme_private.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/nvme/nvme.c b/sys/dev/nvme/nvme.c
index c050a62..3429bb29ae 100644
--- a/sys/dev/nvme/nvme.c
+++ b/sys/dev/nvme/nvme.c
@@ -80,7 +80,8 @@ static struct _pcsid
} pci_ids[] = {
{ 0x01118086, "NVMe Controller" },
{ CHATHAM_PCI_ID, "Chatham Prototype NVMe Controller" },
- { IDT_PCI_ID, "IDT NVMe Controller" },
+ { IDT32_PCI_ID, "IDT NVMe Controller (32 channel)" },
+ { IDT8_PCI_ID, "IDT NVMe Controller (8 channel)" },
{ 0x00000000, NULL }
};
diff --git a/sys/dev/nvme/nvme_private.h b/sys/dev/nvme/nvme_private.h
index 4f57f7c..00cd04b 100644
--- a/sys/dev/nvme/nvme_private.h
+++ b/sys/dev/nvme/nvme_private.h
@@ -55,7 +55,8 @@ MALLOC_DECLARE(M_NVME);
#define CHATHAM_CONTROL_BAR 0
#endif
-#define IDT_PCI_ID 0x80d0111d
+#define IDT32_PCI_ID 0x80d0111d /* 32 channel board */
+#define IDT8_PCI_ID 0x80d2111d /* 8 channel board */
#define NVME_MAX_PRP_LIST_ENTRIES (32)
OpenPOWER on IntegriCloud