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)
Wed, May 7, 11:17 AM
Unknown Object (File)
Tue, Apr 29, 8:48 PM
Unknown Object (File)
Wed, Apr 16, 5:40 AM
Unknown Object (File)
Mar 11 2025, 7:03 AM
Unknown Object (File)
Feb 8 2025, 4:17 PM
Unknown Object (File)
Feb 7 2025, 4:14 AM
Unknown Object (File)
Feb 1 2025, 7:43 AM
Unknown Object (File)
Jan 12 2025, 6:36 PM
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