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}
 };
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to