Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2025 21:40:38 GMT
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 79aba7a0ca84 - main - pciconf(8): Fix the -x option and its documentation
Message-ID:  <202505192140.54JLecFi018388@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by np:

URL: https://cgit.FreeBSD.org/src/commit/?id=79aba7a0ca8468da36551e66d24e0b3385d8e328

commit 79aba7a0ca8468da36551e66d24e0b3385d8e328
Author:     Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2025-05-19 06:16:18 +0000
Commit:     Navdeep Parhar <np@FreeBSD.org>
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505192140.54JLecFi018388>