Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 22:29:42 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331149 - in stable/11: sys/dev/pci usr.sbin/pciconf
Message-ID:  <201803182229.w2IMTgj3043609@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Mar 18 22:29:41 2018
New Revision: 331149
URL: https://svnweb.freebsd.org/changeset/base/331149

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

Modified:
  stable/11/sys/dev/pci/pcireg.h
  stable/11/usr.sbin/pciconf/pciconf.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/pci/pcireg.h
==============================================================================
--- stable/11/sys/dev/pci/pcireg.h	Sun Mar 18 22:24:29 2018	(r331148)
+++ stable/11/sys/dev/pci/pcireg.h	Sun Mar 18 22:29:41 2018	(r331149)
@@ -480,6 +480,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: stable/11/usr.sbin/pciconf/pciconf.c
==============================================================================
--- stable/11/usr.sbin/pciconf/pciconf.c	Sun Mar 18 22:24:29 2018	(r331148)
+++ stable/11/usr.sbin/pciconf/pciconf.c	Sun Mar 18 22:29:41 2018	(r331149)
@@ -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?201803182229.w2IMTgj3043609>