svn commit: r315190 - in head: sys/dev/pci usr.sbin/pciconf

Scott Long scottl at FreeBSD.org
Mon Mar 13 07:45:17 UTC 2017


Author: scottl
Date: Mon Mar 13 07:45:15 2017
New Revision: 315190
URL: https://svnweb.freebsd.org/changeset/base/315190

Log:
  Add constants and descriptions for some new PCI class definitions

Modified:
  head/sys/dev/pci/pcireg.h
  head/usr.sbin/pciconf/pciconf.c

Modified: head/sys/dev/pci/pcireg.h
==============================================================================
--- head/sys/dev/pci/pcireg.h	Mon Mar 13 06:52:29 2017	(r315189)
+++ head/sys/dev/pci/pcireg.h	Mon Mar 13 07:45:15 2017	(r315190)
@@ -478,6 +478,11 @@
 #define	PCIS_DASP_MGMT_CARD	0x20
 #define	PCIS_DASP_OTHER		0x80
 
+#define	PCIC_ACCEL	0x12
+#define	PCIS_ACCEL_PROCESSING	0x00
+
+#define	PCIC_INSTRUMENT	0x13
+
 #define	PCIC_OTHER	0xff
 
 /* Bridge Control Values. */

Modified: head/usr.sbin/pciconf/pciconf.c
==============================================================================
--- head/usr.sbin/pciconf/pciconf.c	Mon Mar 13 06:52:29 2017	(r315189)
+++ head/usr.sbin/pciconf/pciconf.c	Mon Mar 13 07:45:15 2017	(r315190)
@@ -700,6 +700,9 @@ static struct
 	{PCIC_DASP,		PCIS_DASP_PERFCNTRS,	"performance counters"},
 	{PCIC_DASP,		PCIS_DASP_COMM_SYNC,	"communication synchronizer"},
 	{PCIC_DASP,		PCIS_DASP_MGMT_CARD,	"signal processing management"},
+	{PCIC_ACCEL,		-1,			"processing accelerators"},
+	{PCIC_ACCEL,		PCIS_ACCEL_PROCESSING,	"processing accelerators"},
+	{PCIC_INSTRUMENT,	-1,			"non-essential instrumentation"},
 	{0, 0,		NULL}
 };
 


More information about the svn-src-all mailing list