summaryrefslogtreecommitdiff
path: root/usr.sbin/pcidump
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pcidump')
-rw-r--r--usr.sbin/pcidump/pcidump.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/pcidump/pcidump.c b/usr.sbin/pcidump/pcidump.c
index 0e54108be48..97c9ad1f2c3 100644
--- a/usr.sbin/pcidump/pcidump.c
+++ b/usr.sbin/pcidump/pcidump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcidump.c,v 1.61 2021/01/17 11:54:15 dlg Exp $ */
+/* $OpenBSD: pcidump.c,v 1.62 2021/03/05 12:57:20 jan Exp $ */
/*
* Copyright (c) 2006, 2007 David Gwynne <loki@animata.net>
@@ -1296,6 +1296,9 @@ static const struct pci_subclass pci_subclass_dasp[] = {
{ PCI_SUBCLASS_DASP_MISC, "Miscellaneous" },
};
+static const struct pci_subclass pci_subclass_accelerator[] = {0};
+static const struct pci_subclass pci_subclass_instrumentation[] = {0};
+
#define CLASS(_c, _n, _s) { \
.class = _c, \
.name = _n, \
@@ -1338,6 +1341,10 @@ static const struct pci_class pci_classes[] = {
pci_subclass_crypto),
CLASS(PCI_CLASS_DASP, "DASP",
pci_subclass_dasp),
+ CLASS(PCI_CLASS_ACCELERATOR, "Accelerator",
+ pci_subclass_accelerator),
+ CLASS(PCI_CLASS_INSTRUMENTATION, "Instrumentation",
+ pci_subclass_instrumentation),
};
static const struct pci_class *