Date: Fri, 5 May 2017 17:01:54 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r317838 - head/usr.sbin/mpsutil Message-ID: <201705051701.v45H1sbM061067@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: scottl Date: Fri May 5 17:01:54 2017 New Revision: 317838 URL: https://svnweb.freebsd.org/changeset/base/317838 Log: Show more fields in the IOCFact message Modified: head/usr.sbin/mpsutil/mps_show.c Modified: head/usr.sbin/mpsutil/mps_show.c ============================================================================== --- head/usr.sbin/mpsutil/mps_show.c Fri May 5 16:52:25 2017 (r317837) +++ head/usr.sbin/mpsutil/mps_show.c Fri May 5 17:01:54 2017 (r317838) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705051701.v45H1sbM061067>