From f352a3fb15e1012e7b9c5ac8dedacb2d3ac242c1 Mon Sep 17 00:00:00 2001 From: Philip Homburg Date: Tue, 7 Aug 2007 11:21:57 +0000 Subject: [PATCH] Print the value of a capability as well. --- drivers/pci/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 0c726fff8..f2af6de7c 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -2443,8 +2443,8 @@ int devind; default: str= "(unknown type)"; break; } - printf(" @0x%x: capability type 0x%x: %s", - capptr, type, str); + printf(" @0x%x (0x%08x): capability type 0x%x: %s", + capptr, pci_attr_r32(devind, capptr), type, str); if (type == 0x0f) { subtype= (pci_attr_r8(devind, capptr+2) & 0x07); -- 2.44.0