From owner-svn-src-head@freebsd.org Fri May 5 17:01:55 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E72C7D5F632; Fri, 5 May 2017 17:01:55 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7A25D96; Fri, 5 May 2017 17:01:55 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v45H1sBw061068; Fri, 5 May 2017 17:01:54 GMT (envelope-from scottl@FreeBSD.org) Received: (from scottl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v45H1sbM061067; Fri, 5 May 2017 17:01:54 GMT (envelope-from scottl@FreeBSD.org) Message-Id: <201705051701.v45H1sbM061067@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: scottl set sender to scottl@FreeBSD.org using -f From: Scott Long Date: Fri, 5 May 2017 17:01:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r317838 - head/usr.sbin/mpsutil X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2017 17:01:56 -0000 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);