PCI: iproc: Set all 24 bits of PCI class code
authorPali Rohár <pali@kernel.org>
Mon, 14 Feb 2022 11:41:09 +0000 (12:41 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 17 Feb 2022 21:30:01 +0000 (15:30 -0600)
commitfe665816e0d4ff4945c8ca720278023a4d05a6b3
tree9f870458e6d2be584b045e5ee9ad002a07940905
parent904b10fb189cc15376e9bfce1ef0282e68b0b004
PCI: iproc: Set all 24 bits of PCI class code

Register 0x43c in its low 24 bits contains PCI class code.

Update code to set all 24 bits of PCI class code and not only upper 16 bits
of PCI class code.

Use a new macro PCI_CLASS_BRIDGE_PCI_NORMAL which represents whole 24 bits
of normal PCI bridge class.

Link: https://lore.kernel.org/r/20220214114109.26809-2-pali@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Roman Bacik <roman.bacik@broadcom.com>
Acked-by: Ray Jui <ray.jui@broadcom.com>
drivers/pci/controller/pcie-iproc.c