Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2017 07:45:15 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315190 - in head: sys/dev/pci usr.sbin/pciconf
Message-ID:  <201703130745.v2D7jFtL019941@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703130745.v2D7jFtL019941>