Print the value of a capability as well.
This commit is contained in:
parent
a80365f407
commit
f352a3fb15
1 changed files with 2 additions and 2 deletions
|
@ -2443,8 +2443,8 @@ int devind;
|
||||||
default: str= "(unknown type)"; break;
|
default: str= "(unknown type)"; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf(" @0x%x: capability type 0x%x: %s",
|
printf(" @0x%x (0x%08x): capability type 0x%x: %s",
|
||||||
capptr, type, str);
|
capptr, pci_attr_r32(devind, capptr), type, str);
|
||||||
if (type == 0x0f)
|
if (type == 0x0f)
|
||||||
{
|
{
|
||||||
subtype= (pci_attr_r8(devind, capptr+2) & 0x07);
|
subtype= (pci_attr_r8(devind, capptr+2) & 0x07);
|
||||||
|
|
Loading…
Reference in a new issue