summaryrefslogtreecommitdiff
path: root/drivers/pci/pci-bridge-emul.h
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-07-22 17:40:40 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2021-08-05 12:51:49 +0300
commite902bb7c24a7099d0eb0eb4cba06f2d91e9299f3 (patch)
tree25f4b4591280185338ff977d61a837ba032bad91 /drivers/pci/pci-bridge-emul.h
parent02bcec3ea5591720114f586960490b04b093a09e (diff)
downloadlinux-e902bb7c24a7099d0eb0eb4cba06f2d91e9299f3.tar.xz
PCI: pci-bridge-emul: Add PCIe Root Capabilities Register
The 16-bit Root Capabilities register is at offset 0x1e in the PCIe Capability. Rename current 'rsvd' struct member to 'rootcap'. Link: https://lore.kernel.org/r/20210722144041.12661-4-pali@kernel.org Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Marek Behún <kabel@kernel.org>
Diffstat (limited to 'drivers/pci/pci-bridge-emul.h')
-rw-r--r--drivers/pci/pci-bridge-emul.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-bridge-emul.h b/drivers/pci/pci-bridge-emul.h
index b31883022a8e..49bbd37ee318 100644
--- a/drivers/pci/pci-bridge-emul.h
+++ b/drivers/pci/pci-bridge-emul.h
@@ -54,7 +54,7 @@ struct pci_bridge_emul_pcie_conf {
__le16 slotctl;
__le16 slotsta;
__le16 rootctl;
- __le16 rsvd;
+ __le16 rootcap;
__le32 rootsta;
__le32 devcap2;
__le16 devctl2;