Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2012 15:47:13 +0000 (UTC)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r241102 - in stable/8: sys/dev/pci usr.sbin/pciconf
Message-ID:  <201210011547.q91FlDjJ073098@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gavin
Date: Mon Oct  1 15:47:13 2012
New Revision: 241102
URL: http://svn.freebsd.org/changeset/base/241102

Log:
  Merge the following from head:
  
    r240694
      Add PCI subclass for NVM Express devices.
  
    r240699, r240739
      Recognise NVM devices and pretty-print their name.

Modified:
  stable/8/sys/dev/pci/pci.c
  stable/8/sys/dev/pci/pcireg.h
  stable/8/usr.sbin/pciconf/pciconf.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)
  stable/8/sys/dev/pci/   (props changed)
  stable/8/usr.sbin/pciconf/   (props changed)

Modified: stable/8/sys/dev/pci/pci.c
==============================================================================
--- stable/8/sys/dev/pci/pci.c	Mon Oct  1 15:47:01 2012	(r241101)
+++ stable/8/sys/dev/pci/pci.c	Mon Oct  1 15:47:13 2012	(r241102)
@@ -3343,6 +3343,7 @@ static struct
 	{PCIC_STORAGE,		PCIS_STORAGE_ATA_ADMA,	"ATA (ADMA)"},
 	{PCIC_STORAGE,		PCIS_STORAGE_SATA,	"SATA"},
 	{PCIC_STORAGE,		PCIS_STORAGE_SAS,	"SAS"},
+	{PCIC_STORAGE,		PCIS_STORAGE_NVM,	"NVM"},
 	{PCIC_NETWORK,		-1,			"network"},
 	{PCIC_NETWORK,		PCIS_NETWORK_ETHERNET,	"ethernet"},
 	{PCIC_NETWORK,		PCIS_NETWORK_TOKENRING,	"token ring"},

Modified: stable/8/sys/dev/pci/pcireg.h
==============================================================================
--- stable/8/sys/dev/pci/pcireg.h	Mon Oct  1 15:47:01 2012	(r241101)
+++ stable/8/sys/dev/pci/pcireg.h	Mon Oct  1 15:47:13 2012	(r241102)
@@ -263,6 +263,7 @@
 #define	PCIS_STORAGE_SATA	0x06
 #define	PCIP_STORAGE_SATA_AHCI_1_0	0x01
 #define	PCIS_STORAGE_SAS	0x07
+#define	PCIS_STORAGE_NVM	0x08
 #define	PCIS_STORAGE_OTHER	0x80
 
 #define	PCIC_NETWORK	0x02

Modified: stable/8/usr.sbin/pciconf/pciconf.c
==============================================================================
--- stable/8/usr.sbin/pciconf/pciconf.c	Mon Oct  1 15:47:01 2012	(r241101)
+++ stable/8/usr.sbin/pciconf/pciconf.c	Mon Oct  1 15:47:13 2012	(r241102)
@@ -345,6 +345,7 @@ static struct
 	{PCIC_STORAGE,		PCIS_STORAGE_ATA_ADMA,	"ATA (ADMA)"},
 	{PCIC_STORAGE,		PCIS_STORAGE_SATA,	"SATA"},
 	{PCIC_STORAGE,		PCIS_STORAGE_SAS,	"SAS"},
+	{PCIC_STORAGE,		PCIS_STORAGE_NVM,	"NVM"},
 	{PCIC_NETWORK,		-1,			"network"},
 	{PCIC_NETWORK,		PCIS_NETWORK_ETHERNET,	"ethernet"},
 	{PCIC_NETWORK,		PCIS_NETWORK_TOKENRING,	"token ring"},



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