]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: Add PCI_VDEVICE_SUB helper macro
authorPiotr Kwapulinski <piotr.kwapulinski@intel.com>
Mon, 20 Oct 2025 19:53:45 +0000 (15:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2025 13:04:42 +0000 (14:04 +0100)
commitddd15338d702ff44742134322953c8a5a4522282
treef252a07043fea499513e8cc4cb4da1a20d3aa0bc
parente88ae5938ccb64347d6c88191345fb2ebab27309
PCI: Add PCI_VDEVICE_SUB helper macro

[ Upstream commit 208fff3f567e2a3c3e7e4788845e90245c3891b4 ]

PCI_VDEVICE_SUB generates the pci_device_id struct layout for
the specific PCI device/subdevice. Private data may follow the
output.

Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Stable-dep-of: a7075f501bd3 ("ixgbevf: fix mailbox API compatibility by negotiating supported features")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/pci.h