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

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
rGc3ac5f14c8b3: pci.4: Quote argument to -width for a list block
Branches
Unknown
Tags
Unknown