From: Philip Homburg Date: Tue, 7 Aug 2007 11:21:57 +0000 (+0000) Subject: Print the value of a capability as well. X-Git-Tag: v3.1.4~364 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/zones/static/man.7.txt?a=commitdiff_plain;h=f352a3fb15e1012e7b9c5ac8dedacb2d3ac242c1;p=minix.git Print the value of a capability as well. --- 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);