aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pciconf/pciconf.8
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2001-05-31 18:31:43 +0000
committerWarner Losh <imp@FreeBSD.org>2001-05-31 18:31:43 +0000
commit8d0421472a56c83222e08d3e109342cd1e1cf34e (patch)
tree95d5628535a99f0ae2cbe25be8a52e980d1d5275 /usr.sbin/pciconf/pciconf.8
parente0107997322a64dc147915f5ec132880c4233cba (diff)
downloadsrc-8d0421472a56c83222e08d3e109342cd1e1cf34e.tar.gz
src-8d0421472a56c83222e08d3e109342cd1e1cf34e.zip
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
Notes
Notes: svn path=/head/; revision=77533
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 7e8e8934e8ca..8f51c6e4e7eb 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