From b1b183574d0cf2bf3accbbf7717d88bdc3bbfc33 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Fri, 12 Jan 2018 14:37:27 +0200 Subject: [PATCH] 8952 VMware Workstation NVMe model is of "Unknown class of pci/pnpbios device" value Reviewed by: Igor Kozhukhov Reviewed by: Hans Rosenfeld Reviewed by: Yuri Pankov Reviewed by: Michal Nowak Approved by: Dan McDonald --- usr/src/common/pci/pci_strings.c | 3 +++ usr/src/common/pci/pci_strings.h | 2 -- usr/src/uts/common/sys/pci.h | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/usr/src/common/pci/pci_strings.c b/usr/src/common/pci/pci_strings.c index fc322641ad..615e3d626c 100644 --- a/usr/src/common/pci/pci_strings.c +++ b/usr/src/common/pci/pci_strings.c @@ -47,6 +47,9 @@ const pci_class_strings_t class_pci[] = { 1, 6, 2, "Serial Storage Bus Interface", "sata", 1, 7, 0, "Serial Attached SCSI Controller", "sas", 1, 7, 1, "Serial Storage Bus Interface", "sas", + 1, 8, 0, "Non-Volatile memory controller", "unknown", + 1, 8, 1, "NVMHCI", "unknown", + 1, 8, 2, "NVM Express", "nvme", 1, 0x80, 0, "Mass storage controller", "unknown", 2, 0, 0, "Ethernet controller", "etherne", diff --git a/usr/src/common/pci/pci_strings.h b/usr/src/common/pci/pci_strings.h index 351d18da81..bea94aad68 100644 --- a/usr/src/common/pci/pci_strings.h +++ b/usr/src/common/pci/pci_strings.h @@ -28,8 +28,6 @@ #ifndef _PCI_STRINGS_H #define _PCI_STRINGS_H -#pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif diff --git a/usr/src/uts/common/sys/pci.h b/usr/src/uts/common/sys/pci.h index de0cb3e808..364fd0f37e 100644 --- a/usr/src/uts/common/sys/pci.h +++ b/usr/src/uts/common/sys/pci.h @@ -235,6 +235,7 @@ extern "C" { #define PCI_MASS_ATA 0x5 /* ATA Controller */ #define PCI_MASS_SATA 0x6 /* Serial ATA */ #define PCI_MASS_SAS 0x7 /* Serial Attached SCSI (SAS) Cntrlr */ +#define PCI_MASS_NVME 0x8 /* Non-Volatile memory controller */ #define PCI_MASS_OTHER 0x80 /* Other Mass Storage Controller */ /* -- 2.11.4.GIT