From nobody Mon May 19 21:40:38 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b1WMB44Ykz5wW7r; Mon, 19 May 2025 21:40:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b1WMB3CDFz42M4; Mon, 19 May 2025 21:40:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747690838; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZCd1ZZppVaVjXOl+D/9wU9xYAmoHNunhCiK027hIlKo=; b=kFVuQmB0e7ZG/C71BuZ/jfxX5S71KskXcjOLf9AQj113HqLwhmxTqGAF/NQ9N2ZxWdxat2 wq6vMv4NppV86k1YRdzeSXxCGrbFONCuJJ/04ayfwG5MQ9PHE87RR1CRM//nNkPkBbBtbQ 9JCskCt1+hEJtjcvJiXckJi8MH5sHetlFog37x0fAzhhWbv+LDxIeejUy5dCC8tHvo7/8D 56eYVtaC86v89LXNF9SVf0QSNmy/8iNIfVLFxF/0s2pK62UlnFImL5yUVDTBo40Rn4XN6V n98RSxynhsi35HcdP81PxQ1sduWXbdhsWacpzHgSHnQXcPmfl51EP6ym95pj2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747690838; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZCd1ZZppVaVjXOl+D/9wU9xYAmoHNunhCiK027hIlKo=; b=CiaZIuKSHVMltuMvFe0saJYD1jHHQWJ2Y3xjGnmllXVvq7BPyzbGwvZUFVqEmaudLWDm+G wfrlYVUarYn+uNhAv3EwU1RX01mwGXh+8y4Igz7cn+fnNvSXje96VpsO5Udn+JomGM0+nM sDwfkLlExfGPs7WNSYwhkRZUGg0uol9P08Febs3SBwszvzHzHp2ynxYhherH/u2gg9DnNB L9jrX5k1jGhx7rt3nkEO6a7/xjt+QYgpzGOAT5cHmgQ0rYqU786Ievx4GP1E7dBTb7ReFR X6eSQ8+RvRrQKfmHbMl2HRL0nJnWE5wQEE5Xjd3fBkR+o4nI3X5DAB7g7MSLwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747690838; a=rsa-sha256; cv=none; b=i4UZ9A+g7p7n2qtc9W9xSsT0PgsbTTM3XH3oAxTNIKJl3d/nhYaFs6r1uF3xXk/MiBfOxY SzWqbtKsIdi7ytZLof4WS+rRqV8rqk31cMjMinI6qFU3gzgDe0vZ4B7DQRj48lry7j9W0L X0bvNVy3mtJycbCSJ5Uf2rylBYNvEZjX6J1NLtf4cOvpEz2lK9jLClOAF5RBGbk0Om+gEg o0wCjICpfRNmpiYV4nrN2A+BxsyISrnf8686kGJ6GaPHb/cK0es5NWhw77iCQ5wMSaNoN/ 9O39s2PsSUPDTWGjbT9s27ZxLbPwZJXArLXsj5dyr9ccqOVmdeV/QplKdBSYcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4b1WMB2XxHz6CN; Mon, 19 May 2025 21:40:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 54JLecuA018391; Mon, 19 May 2025 21:40:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54JLecFi018388; Mon, 19 May 2025 21:40:38 GMT (envelope-from git) Date: Mon, 19 May 2025 21:40:38 GMT Message-Id: <202505192140.54JLecFi018388@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Navdeep Parhar Subject: git: 79aba7a0ca84 - main - pciconf(8): Fix the -x option and its documentation List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: np X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 79aba7a0ca8468da36551e66d24e0b3385d8e328 Auto-Submitted: auto-generated The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=79aba7a0ca8468da36551e66d24e0b3385d8e328 commit 79aba7a0ca8468da36551e66d24e0b3385d8e328 Author: Navdeep Parhar AuthorDate: 2025-05-19 06:16:18 +0000 Commit: Navdeep Parhar CommitDate: 2025-05-19 19:49:27 +0000 pciconf(8): Fix the -x option and its documentation Reviewed by: kib MFC after: 1 week Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D50421 --- usr.sbin/pciconf/pciconf.8 | 4 ++-- usr.sbin/pciconf/pciconf.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/pciconf/pciconf.8 b/usr.sbin/pciconf/pciconf.8 index 4e46d502887a..6c67e9e50df6 100644 --- a/usr.sbin/pciconf/pciconf.8 +++ b/usr.sbin/pciconf/pciconf.8 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd June 14, 2018 +.Dd May 19, 2025 .Dt PCICONF 8 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm .Fl w Oo Fl b | h Oc Ar device addr value .Nm -.Fl D Oo Fl b | h | x Oc Ar device addr Op start Ns Op : Ns Ar count +.Fl D Oo Fl b | h | x Oc Ar device bar Op Ar start Op Ns Ar count .Sh DESCRIPTION The .Nm diff --git a/usr.sbin/pciconf/pciconf.c b/usr.sbin/pciconf/pciconf.c index 83ea50efb183..ef75a8fa2341 100644 --- a/usr.sbin/pciconf/pciconf.c +++ b/usr.sbin/pciconf/pciconf.c @@ -110,7 +110,7 @@ main(int argc, char **argv) bars = bridge = caps = errors = verbose = vpd= 0; width = 4; - while ((c = getopt(argc, argv, "aBbcDehlrwVv")) != -1) { + while ((c = getopt(argc, argv, "aBbcDehlrwVvx")) != -1) { switch(c) { case 'a': attachedmode = 1;