]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
setpci: Define CAPABILITIES register
authorPali Rohár <pali@kernel.org>
Tue, 14 Jun 2022 12:09:02 +0000 (14:09 +0200)
committerPali Rohár <pali@kernel.org>
Tue, 14 Jun 2022 12:09:02 +0000 (14:09 +0200)
setpci.c

index 2cb70fa5c2299ca6b0ceec6696e4380589df9c42..1a0a73681bfffe002769935daf847dd04ccad5c0 100644 (file)
--- 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" },