mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
Show more fields in the IOCFact message
This commit is contained in:
parent
49c0beb6f5
commit
e8262ee824
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317838
|
@ -217,6 +217,19 @@ show_iocfacts(int ac, char **av)
|
|||
return (errno);
|
||||
}
|
||||
|
||||
printf(" MsgVersion: %02d.%02d\n",
|
||||
facts->MsgVersion >> 8, facts->MsgVersion & 0xff);
|
||||
printf(" MsgLength: %d\n", facts->MsgLength);
|
||||
printf(" Function: 0x%x\n", facts->Function);
|
||||
printf(" HeaderVersion: %02d,%02d\n",
|
||||
facts->HeaderVersion >> 8, facts->HeaderVersion & 0xff);
|
||||
printf(" IOCNumber: %d\n", facts->IOCNumber);
|
||||
printf(" MsgFlags: 0x%x\n", facts->MsgFlags);
|
||||
printf(" VP_ID: %d\n", facts->VP_ID);
|
||||
printf(" VF_ID: %d\n", facts->VF_ID);
|
||||
printf(" IOCExceptions: %d\n", facts->IOCExceptions);
|
||||
printf(" IOCStatus: %d\n", facts->IOCStatus);
|
||||
printf(" IOCLogInfo: 0x%x\n", facts->IOCLogInfo);
|
||||
printf(" MaxChainDepth: %d\n", facts->MaxChainDepth);
|
||||
printf(" WhoInit: 0x%x\n", facts->WhoInit);
|
||||
printf(" NumberOfPorts: %d\n", facts->NumberOfPorts);
|
||||
|
|
Loading…
Reference in a new issue