cvs commit: src/sys/dev/pci pci_pci.c pcib_private.h

Warner Losh imp at
Sat Aug 16 20:18:51 UTC 2008

imp         2008-08-16 20:18:40 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci_pci.c pcib_private.h 
  SVN rev 181789 on 2008-08-16 20:18:40Z by imp
  Add some sysctl reporting for most pci_pci bridges.  We now report
  domain, pribus (the primary bus, eg the bus that this chip is on),
  secbus (the secondary bus, eg the bus immediately behind this chip)
  and subbus (the number of the highest bus behind this chip).
  Normally, this information is reported via bootverbose parameters, but
  that's hard to use for debugging in some cases.
  This adds reading of pribus to make this happen.  In addition, change
  the narrow types to u_int to allow for easier reporting via sysctl for
  domain, secbus and subbus.  This should have no effect, but if it
  does, please let me know.
  Revision  Changes    Path
  1.52      +17 -0     src/sys/dev/pci/pci_pci.c
  1.14      +4 -3      src/sys/dev/pci/pcib_private.h

More information about the cvs-all mailing list