]> Zhao Yanbai Git Server - minix.git/commitdiff
Print the value of a capability as well.
authorPhilip Homburg <philip@cs.vu.nl>
Tue, 7 Aug 2007 11:21:57 +0000 (11:21 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Tue, 7 Aug 2007 11:21:57 +0000 (11:21 +0000)
drivers/pci/pci.c

index 0c726fff874b10be97715c60f179744ab841d69f..f2af6de7ca835da119f8d035d7975897ce10c3b0 100644 (file)
@@ -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);