From owner-svn-src-all@FreeBSD.ORG Sat Jul 26 18:26:14 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 974144BE; Sat, 26 Jul 2014 18:26:14 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F97823FB; Sat, 26 Jul 2014 18:26:13 +0000 (UTC) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id s6QIQ8tb021594 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Jul 2014 21:26:08 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua s6QIQ8tb021594 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id s6QIQ8on021593; Sat, 26 Jul 2014 21:26:08 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 26 Jul 2014 21:26:07 +0300 From: Konstantin Belousov To: Navdeep Parhar Subject: Re: svn commit: r269106 - head/tools/tools/cxgbetool Message-ID: <20140726182607.GG93733@kib.kiev.ua> References: <201407260051.s6Q0pjNO077573@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X7Zep0NQCNWF69sf" Content-Disposition: inline In-Reply-To: <201407260051.s6Q0pjNO077573@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2014 18:26:14 -0000 --X7Zep0NQCNWF69sf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 26, 2014 at 12:51:45AM +0000, Navdeep Parhar wrote: > Author: np > Date: Sat Jul 26 00:51:45 2014 > New Revision: 269106 > URL: http://svnweb.freebsd.org/changeset/base/269106 >=20 > Log: > Add a 'raw' parameter to the 'modinfo' subcommand. This is handy when > trying to figure out why a QSFP+/SFP+ connector or cable wasn't > identified correctly by cxgbe(4). Its output looks like this: > =20 > # cxgbetool t5nex0 modinfo 0 raw > 00: 03 04 21 00 00 00 00 00 ..!. .... > 08: 04 00 00 00 67 00 00 00 .... g... > 10: 00 00 05 00 41 6d 70 68 .... Amph > 18: 65 6e 6f 6c 20 20 20 20 enol > 20: 20 20 20 20 00 41 50 48 .APH > 28: 35 37 31 35 34 30 30 30 5715 4000 > 30: 33 20 20 20 20 20 20 20 3 > 38: 4b 20 20 20 01 00 00 fa K .... > 40: 00 00 00 00 41 50 46 31 .... APF1 > 48: 30 30 34 30 30 33 30 30 0040 0300 > 50: 30 33 20 20 31 30 30 31 03 1001 > 58: 33 30 20 20 00 00 00 97 30 .... > =20 > MFC after: 3 days >=20 > Modified: > head/tools/tools/cxgbetool/cxgbetool.c I do not remember if this question was already asked. Why cxgbetool lives in tools and not installed into /usr/sbin as cxgbecontrol(8) ? --X7Zep0NQCNWF69sf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT0/K/AAoJEJDCuSvBvK1BQNUP/jjrk0eILPS+OxzA2Fi4QoMu +dXFP7W7eyo5jy5X5tehN0WpWwk3lDhrFkpQKoRbtCXjMyGW8vFUUZaYBPfJG9ou IaOu60vMp44jjl64Uy/0KcfzSdWnHzptFEI9DebaQNwpR5RpO5eWqVaACxyxM1ER nvLRjpw5H8eD536cYaL78jyesdVbhvIp//7ii04NSZOZnTEu3Ucea8tiCZQfVPmY OklXKFjWWmFfCN6dSvFW0hhjPhpz2PlJgBy7NgsNR3CJMHQMQvuq/o8WL5EuuKpv r4eJgyXwzGVScZ+TeJhHUMeMMq8zMUWVEj91WPHTrFrpI+OgQE23bxVb7ojxkLc8 OQNmTJXjsQMoFENxOwUQkgsDxg8S3HMquaFSyePRgn8wWZdNpefPyFkH7EH6dSAw +kLBIi1bCLR72TwTE4VsXYCE9kM19FW6cZ7x8gu8GfGFio2p5/3vW1i5HT1oLSFv QvhshW0ueb7pIwTmTBrJ/jD4Rk3XAxDOuV8a4mzw5wSg/3z+6MuG4b3hZM6qWimu pzHGyj0xODU/y62beHvzwKQoOfwZg++iAdgSXiM3ECuhCmx6cXQlj4uklV8dZaJk +uoNsrsEemPrLwQrM8DZZoqCxNfW7fA6P9Z9HC4UnHmRKPxgaypGTvyCE5WOJudU tQkFRfPHl/eBauGHfC5x =No1o -----END PGP SIGNATURE----- --X7Zep0NQCNWF69sf--