]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: pci.h add more defines and functions
authorBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 21 Sep 2022 19:39:01 +0000 (19:39 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 22 Sep 2022 15:10:03 +0000 (15:10 +0000)
commitc41d83548b6cf18b48af974ad995354f38cf04a4
treec4a5c080885b97d7510f8cefa1a7075b2129ae8f
parente999fbf0776208f9ecbc2926fd088427d766b014
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
MFC after: 7 days
Reviewed by: hselasky, emaste
Differential Revision: https://reviews.freebsd.org/D36653
sys/compat/linuxkpi/common/include/linux/pci.h