Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2012 15:47:01 +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-9@freebsd.org
Subject:   svn commit: r241101 - in stable/9: sys/dev/pci usr.sbin/pciconf
Message-ID:  <201210011547.q91Fl1fe073032@svn.freebsd.org>

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

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/9/sys/dev/pci/pci.c
  stable/9/sys/dev/pci/pcireg.h
  stable/9/usr.sbin/pciconf/pciconf.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)
  stable/9/usr.sbin/pciconf/   (props changed)

Modified: stable/9/sys/dev/pci/pci.c
==============================================================================
--- stable/9/sys/dev/pci/pci.c	Mon Oct  1 14:56:48 2012	(r241100)
+++ stable/9/sys/dev/pci/pci.c	Mon Oct  1 15:47:01 2012	(r241101)
@@ -3590,6 +3590,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/9/sys/dev/pci/pcireg.h
==============================================================================
--- stable/9/sys/dev/pci/pcireg.h	Mon Oct  1 14:56:48 2012	(r241100)
+++ stable/9/sys/dev/pci/pcireg.h	Mon Oct  1 15:47:01 2012	(r241101)
@@ -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/9/usr.sbin/pciconf/pciconf.c
==============================================================================
--- stable/9/usr.sbin/pciconf/pciconf.c	Mon Oct  1 14:56:48 2012	(r241100)
+++ stable/9/usr.sbin/pciconf/pciconf.c	Mon Oct  1 15:47:01 2012	(r241101)
@@ -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.q91Fl1fe073032>