]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add defines for normal and subtractive PCI bridges
authorPali Rohár <pali@kernel.org>
Mon, 14 Feb 2022 11:41:08 +0000 (12:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:17:25 +0000 (11:17 +0200)
commitadd772f9bfe0fcc5fad5307e375d1a6d9440f825
tree1f6596acca5a73b8e38a7dbfbd95fa23397d1fcf
parent1d871a2880784dd896ed733380e2e91c275c212a
PCI: Add defines for normal and subtractive PCI bridges

commit 1627c2e035f8089b3571f50a3c06bd4960b65e20 upstream.

Add these PCI class codes to pci_ids.h:

  PCI_CLASS_BRIDGE_PCI_NORMAL
  PCI_CLASS_BRIDGE_PCI_SUBTRACTIVE

Use these defines in all kernel code for describing PCI class codes for
normal and subtractive PCI bridges.

[bhelgaas: similar change in pci-mvebu.c]
Link: https://lore.kernel.org/r/20220214114109.26809-1-pali@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Guenter Roeck <linux@roeck-us.net>a
Cc: Naresh Kamboju <naresh.kamboju@linaro.org>
[ gregkh - take only the pci_ids.h portion for stable backports ]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/pci_ids.h