Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 15:36:25 +0000 (UTC)
From:      Jim Harris <jimharris@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243951 - head/sys/dev/nvme
Message-ID:  <201212061536.qB6FaPdt075596@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jimharris
Date: Thu Dec  6 15:36:24 2012
New Revision: 243951
URL: http://svnweb.freebsd.org/changeset/base/243951

Log:
  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>

Modified:
  head/sys/dev/nvme/nvme.c
  head/sys/dev/nvme/nvme_private.h

Modified: head/sys/dev/nvme/nvme.c
==============================================================================
--- head/sys/dev/nvme/nvme.c	Thu Dec  6 13:03:57 2012	(r243950)
+++ head/sys/dev/nvme/nvme.c	Thu Dec  6 15:36:24 2012	(r243951)
@@ -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  }
 };
 

Modified: head/sys/dev/nvme/nvme_private.h
==============================================================================
--- head/sys/dev/nvme/nvme_private.h	Thu Dec  6 13:03:57 2012	(r243950)
+++ head/sys/dev/nvme/nvme_private.h	Thu Dec  6 15:36:24 2012	(r243951)
@@ -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)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212061536.qB6FaPdt075596>