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)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 17 Feb 2022 21:29:35 +0000 (15:29 -0600)
commit904b10fb189cc15376e9bfce1ef0282e68b0b004
tree9a1ab805b9ce6975818b590b820fbb0e6e01da56
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
PCI: Add defines for normal and subtractive PCI bridges

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>
24 files changed:
arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
arch/mips/pci/fixup-sb1250.c
arch/mips/pci/pci-bcm63xx.c
arch/powerpc/platforms/powernv/pci.c
arch/powerpc/sysdev/fsl_pci.c
arch/sh/drivers/pci/pcie-sh7786.c
drivers/pci/controller/dwc/pci-keystone.c
drivers/pci/controller/dwc/pci-meson.c
drivers/pci/controller/dwc/pcie-qcom.c
drivers/pci/controller/mobiveil/pcie-mobiveil-host.c
drivers/pci/controller/pci-aardvark.c
drivers/pci/controller/pci-loongson.c
drivers/pci/controller/pci-mvebu.c
drivers/pci/controller/pci-tegra.c
drivers/pci/controller/pcie-iproc-bcma.c
drivers/pci/controller/pcie-iproc.c
drivers/pci/controller/pcie-mediatek-gen3.c
drivers/pci/controller/pcie-rcar-host.c
drivers/pci/controller/pcie-rockchip-host.c
drivers/pci/controller/pcie-rockchip.h
drivers/pci/hotplug/shpchp_core.c
drivers/pci/pci-bridge-emul.c
drivers/pci/pcie/portdrv_pci.c
include/linux/pci_ids.h