diff options
author | gavin <gavin@FreeBSD.org> | 2012-09-19 18:22:14 +0000 |
---|---|---|
committer | gavin <gavin@FreeBSD.org> | 2012-09-19 18:22:14 +0000 |
commit | 7d7784d2dd59796dcf595d04a3539d94f2a2482d (patch) | |
tree | f47ce4c34997d752ff6bbf8a7831dc40e9a1e67f | |
parent | ba191119a0dc091c336132a4fdea4a66fa5a4e9d (diff) | |
download | FreeBSD-src-7d7784d2dd59796dcf595d04a3539d94f2a2482d.zip FreeBSD-src-7d7784d2dd59796dcf595d04a3539d94f2a2482d.tar.gz |
Recognise NVM Express devices and pretty-print their name.
MFC after: 1 week
-rw-r--r-- | sys/dev/pci/pci.c | 1 | ||||
-rw-r--r-- | usr.sbin/pciconf/pciconf.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 3de932a..4c64430 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -3661,6 +3661,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 Express"}, {PCIC_NETWORK, -1, "network"}, {PCIC_NETWORK, PCIS_NETWORK_ETHERNET, "ethernet"}, {PCIC_NETWORK, PCIS_NETWORK_TOKENRING, "token ring"}, diff --git a/usr.sbin/pciconf/pciconf.c b/usr.sbin/pciconf/pciconf.c index 76e478b..160445d 100644 --- a/usr.sbin/pciconf/pciconf.c +++ b/usr.sbin/pciconf/pciconf.c @@ -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 Express"}, {PCIC_NETWORK, -1, "network"}, {PCIC_NETWORK, PCIS_NETWORK_ETHERNET, "ethernet"}, {PCIC_NETWORK, PCIS_NETWORK_TOKENRING, "token ring"}, |