git: pciconf - Enhance output

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Oct 1 11:44:26 PDT 2018


commit d650e2183cf9557d58c726150ef990202fc85b98
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Oct 1 11:40:23 2018 -0700

    pciconf - Enhance output
    
    * Add more registers defs from FreeBSD to pcireg.h
    
    * Bring expanded pciconf code in form FreeBSD.  This code
      displays more configuration data for bridges and control
      registers, and fixes a broken bus error reporting conditional.
    
    * Also normalize SLT -> SLOT naming in pcireg.h

Summary of changes:
 sys/bus/pci/pci.c          |   2 +-
 sys/bus/pci/pci_pci.c      |   6 +-
 sys/bus/pci/pcireg.h       | 122 ++++++++++++++++++++------
 usr.sbin/pciconf/Makefile  |   2 +-
 usr.sbin/pciconf/cap.c     | 184 ++++++++++++++++++++++++++++++++++++---
 usr.sbin/pciconf/err.c     | 170 ++++++++++++++++++++++++++++++++++++
 usr.sbin/pciconf/pciconf.c | 211 +++++++++++++++++++++++++++++++++++++++++++--
 usr.sbin/pciconf/pciconf.h |   3 +
 8 files changed, 654 insertions(+), 46 deletions(-)
 create mode 100644 usr.sbin/pciconf/err.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d650e2183cf9557d58c726150ef990202fc85b98


-- 
DragonFly BSD source repository



More information about the Commits mailing list