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, Dec 3, 9:33 AM
Unknown Object (File)
Sun, Nov 30, 9:53 PM
Unknown Object (File)
Fri, Nov 28, 6:00 PM
Unknown Object (File)
Wed, Nov 26, 2:09 AM
Unknown Object (File)
Nov 11 2025, 5:50 AM
Unknown Object (File)
Nov 10 2025, 1:01 AM
Unknown Object (File)
Nov 8 2025, 10:16 AM
Unknown Object (File)
Nov 7 2025, 11:36 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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.sbin/pciconf/cap.c
908 ↗(On Diff #65635)

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

usr.sbin/pciconf/cap.c
908 ↗(On Diff #65635)

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