Page MenuHomeFreeBSD

Expand handling of the PCI Vendor ecap
ClosedPublic

Authored by scottl on Dec 13 2019, 10:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 21, 12:42 AM
Unknown Object (File)
Fri, Aug 15, 7:03 PM
Unknown Object (File)
Sat, Aug 2, 4:11 AM
Unknown Object (File)
Fri, Aug 1, 6:35 PM
Unknown Object (File)
Jul 9 2025, 1:01 PM
Unknown Object (File)
Jul 6 2025, 11:58 PM
Unknown Object (File)
Jun 23 2025, 8:31 PM
Unknown Object (File)
Jun 23 2025, 8:54 AM
Subscribers
None

Details

Summary

Add accessors for the Vendor Specific Extended Capability (VSEC)
Parse out the VSEC. If the user invokes a second -c command line option,
do a hex dump of the vendor data.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28143
Build 26279: arc lint + arc unit

Event Timeline

usr.sbin/pciconf/cap.c
908

don't you need a printf("\n"); at the end?

usr.sbin/pciconf/cap.c
908

The ((i + 4) >= len) clause handles that.

I knew I was missing something :).
This looks OK to my eye now

This revision is now accepted and ready to land.Dec 13 2019, 11:42 PM