HomeFreeBSD

pci: Export bus numbers for bridge devices in struct pci_conf

Description

pci: Export bus numbers for bridge devices in struct pci_conf

This exports bus information about bridges to userspace via the
less-privileged PCIOCGETCONF ioctl. Previously if userspace wished to
query this information, it had to use direct PCI config register
access which requires higher privilege.

Reviewed by: imp
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D55771

(cherry picked from commit 7e7a1b61531a29b4a0a5cdac66b96f420e6c66e4)

Details

Provenance
jhbAuthored on Mar 10 2026, 4:49 PM
Reviewer
imp
Differential Revision
D55771: pci: Export bus numbers for bridge devices in struct pci_conf
Parents
rGf97ba9f0c863: pci.4: Quote argument to -width for a list block
Branches
Unknown
Tags
Unknown