[Midnightbsd-cvs] src [8138] trunk: add PCI subclass for NVM express devices.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Sep 16 17:53:26 EDT 2016
Revision: 8138
http://svnweb.midnightbsd.org/src/?rev=8138
Author: laffer1
Date: 2016-09-16 17:53:26 -0400 (Fri, 16 Sep 2016)
Log Message:
-----------
add PCI subclass for NVM express devices. print NVM devices
Modified Paths:
--------------
trunk/sys/dev/pci/pci.c
trunk/sys/dev/pci/pcireg.h
trunk/usr.sbin/pciconf/pciconf.c
Modified: trunk/sys/dev/pci/pci.c
===================================================================
--- trunk/sys/dev/pci/pci.c 2016-09-16 21:52:40 UTC (rev 8137)
+++ trunk/sys/dev/pci/pci.c 2016-09-16 21:53:26 UTC (rev 8138)
@@ -3590,6 +3590,7 @@
{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: trunk/sys/dev/pci/pcireg.h
===================================================================
--- trunk/sys/dev/pci/pcireg.h 2016-09-16 21:52:40 UTC (rev 8137)
+++ trunk/sys/dev/pci/pcireg.h 2016-09-16 21:53:26 UTC (rev 8138)
@@ -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: trunk/usr.sbin/pciconf/pciconf.c
===================================================================
--- trunk/usr.sbin/pciconf/pciconf.c 2016-09-16 21:52:40 UTC (rev 8137)
+++ trunk/usr.sbin/pciconf/pciconf.c 2016-09-16 21:53:26 UTC (rev 8138)
@@ -345,6 +345,7 @@
{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"},
More information about the Midnightbsd-cvs
mailing list