Skip to content

Commit

Permalink
PCI: pci-bridge-emul: Add PCIe Root Capabilities Register
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
pali authored and Lorenzo Pieralisi committed Aug 5, 2021
1 parent 02bcec3 commit e902bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/pci-bridge-emul.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e902bb7

Please sign in to comment.