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)
Sat, Feb 8, 4:17 PM
Unknown Object (File)
Fri, Feb 7, 4:14 AM
Unknown Object (File)
Sat, Feb 1, 7:43 AM
Unknown Object (File)
Jan 12 2025, 6:36 PM
Unknown Object (File)
Nov 23 2024, 12:22 PM
Unknown Object (File)
Oct 19 2024, 5:32 PM
Unknown Object (File)
Sep 30 2024, 6:31 PM
Unknown Object (File)
Sep 28 2024, 9:24 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