OSDN Git Service

PCI: pci-bridge-emul: Fix Root Cap/Status comment
authorJon Derrick <jonathan.derrick@intel.com>
Mon, 11 May 2020 16:21:15 +0000 (12:21 -0400)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 22 May 2020 11:39:35 +0000 (12:39 +0100)
commitf61959b6e240640d46b65b4dd93b3144d3895ef6
treed086ce4e5fea7a946d8b2b9051b7136979aa7b11
parentc88d19181771bd189147681ef38fc1533ebeff4c
PCI: pci-bridge-emul: Fix Root Cap/Status comment

The upper 16-bits of Root Control contain the Root Capabilities
register. The code instead describes the Root Status register in the
upper 16-bits, although it uses the correct bit definition for Root
Capabilities, and for Root Status in the next definition.

Fix this comment and add a comment describing the Root Status register.

Link: https://lore.kernel.org/r/20200511162117.6674-3-jonathan.derrick@intel.com
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
drivers/pci/pci-bridge-emul.c