summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-06-14 14:09:02 +0200
committerPali Rohár <pali@kernel.org>2022-06-14 14:09:02 +0200
commit13b4913199b513b9cdce1ac05c7237e9cb31b8e2 (patch)
tree08e02346b89686b6d34a0807860fe3df6e281d43
parentd224993d423bcd0e88d8eacc0464bc3a66972e95 (diff)
downloadpciutils-13b4913199b513b9cdce1ac05c7237e9cb31b8e2.tar.gz
setpci: Define CAPABILITIES register
-rw-r--r--setpci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/setpci.c b/setpci.c
index 2cb70fa..1a0a736 100644
--- a/setpci.c
+++ b/setpci.c
@@ -281,6 +281,7 @@ static const struct reg_name pci_reg_names[] = {
{ 0, 0x2c, 2, "SUBSYSTEM_VENDOR_ID" },
{ 0, 0x2e, 2, "SUBSYSTEM_ID" },
{ 0, 0x30, 4, "ROM_ADDRESS" },
+ { 0, 0x34, 1, "CAPABILITIES" },
{ 0, 0x3c, 1, "INTERRUPT_LINE" },
{ 0, 0x3d, 1, "INTERRUPT_PIN" },
{ 0, 0x3e, 1, "MIN_GNT" },