Page MenuHomeFreeBSD

LinuxKPI: pci.h add more defines and functions
ClosedPublic

Authored by bz on Sep 21 2022, 7:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 8, 9:24 AM
Unknown Object (File)
Thu, Oct 8, 9:24 AM
Unknown Object (File)
Thu, Oct 8, 9:22 AM
Unknown Object (File)
Mon, Oct 5, 5:49 PM
Unknown Object (File)
Mon, Oct 5, 5:11 PM
Unknown Object (File)
Mon, Oct 5, 3:34 AM
Unknown Object (File)
Sun, Oct 4, 7:21 PM
Unknown Object (File)
Sun, Oct 4, 7:03 PM

Details

Summary

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
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Sep 21 2022, 7:42 PM
• hselasky added a subscriber: • hselasky.
• hselasky added inline comments.
sys/compat/linuxkpi/common/include/linux/pci.h
1172

Mixing u16 and uint16_t

This revision is now accepted and ready to land.Sep 22 2022, 11:29 AM
bz marked an inline comment as done.Sep 22 2022, 2:35 PM
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/pci.h
1172

Fixed locally; very common in this file.

This revision was automatically updated to reflect the committed changes.
bz marked an inline comment as done.