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)
Jan 30 2025, 11:50 PM
Unknown Object (File)
Jan 26 2025, 6:18 PM
Unknown Object (File)
Jan 26 2025, 6:15 PM
Unknown Object (File)
Jan 14 2025, 11:44 AM
Unknown Object (File)
Nov 25 2024, 11:35 AM
Unknown Object (File)
Nov 17 2024, 3:13 AM
Unknown Object (File)
Nov 5 2024, 5:59 AM
Unknown Object (File)
Oct 24 2024, 11:55 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.