HomeFreeBSD

LinuxKPI: pci.h add more defines and functions

Description

LinuxKPI: pci.h add more defines and functions

Add #defines for PCI_DEVICE_ID and repoint the PCI_VENDOR_ID one.
Add dev_is_pci().
Add pcie_capability_clear_word() according to similar implementations.

Sponsored by: The FreeBSD Foundation
Reviewed by: hselasky, emaste
Differential Revision: https://reviews.freebsd.org/D36653

(cherry picked from commit c41d83548b6cf18b48af974ad995354f38cf04a4)

Details

Provenance
bzAuthored on Sep 21 2022, 7:39 PM
Reviewer
hselasky
Differential Revision
D36653: LinuxKPI: pci.h add more defines and functions
Parents
rGe95e47ff4207: LinuxKPI: pci_ids.h Add more Vendor IDs.
Branches
Unknown
Tags
Unknown