git: 3fb4073c4c8c - stable/14 - pciconf(8): Fix the -x option and its documentation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 May 2025 19:32:42 UTC
The branch stable/14 has been updated by np:
URL: https://cgit.FreeBSD.org/src/commit/?id=3fb4073c4c8cd1f7f4706bc7750a7551f3ae08aa
commit 3fb4073c4c8cd1f7f4706bc7750a7551f3ae08aa
Author: Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2025-05-19 06:16:18 +0000
Commit: Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2025-05-27 16:59:06 +0000
pciconf(8): Fix the -x option and its documentation
Reviewed by: kib
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D50421
(cherry picked from commit 79aba7a0ca8468da36551e66d24e0b3385d8e328)
---
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;