summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pciconf/pciconf.8
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-05-31 18:31:43 +0000
committerimp <imp@FreeBSD.org>2001-05-31 18:31:43 +0000
commitce2cd03ba2aa741fa04795da6d399002974da513 (patch)
treec0b7a357617d371cd2b161f28297433e89dfad93 /usr.sbin/pciconf/pciconf.8
parentbfdc5a0e560812f7c844a2bddadd28ecba9898c2 (diff)
downloadFreeBSD-src-ce2cd03ba2aa741fa04795da6d399002974da513.zip
FreeBSD-src-ce2cd03ba2aa741fa04795da6d399002974da513.tar.gz
Support a range of registers to read.
eg pciconf -r pci0:10:0 0:0xff and keep the output of the old singleton the same. Reviewed by: audit@, dd MFC after: 10 days
Diffstat (limited to 'usr.sbin/pciconf/pciconf.8')
-rw-r--r--usr.sbin/pciconf/pciconf.85
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pciconf/pciconf.8 b/usr.sbin/pciconf/pciconf.8
index 7e8e893..8f51c6e 100644
--- a/usr.sbin/pciconf/pciconf.8
+++ b/usr.sbin/pciconf/pciconf.8
@@ -38,7 +38,7 @@
.Nm
.Fl r Ar selector
.Op Fl b | Fl h
-.Ar reg
+.Ar reg Ns Op : Ns Ar reg2
.Nm
.Fl w Ar selector
.Op Fl b | Fl h
@@ -146,6 +146,9 @@ option reads a configuration space register at byte offset
of device
.Ar selector
and prints out its value in hexadecimal.
+The optional second
+.Ar reg2
+specifies a range to read.
The
.Fl w
option writes the
OpenPOWER on IntegriCloud