summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pciconf/pciconf.8
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-02-17 22:19:49 +0000
committerjhb <jhb@FreeBSD.org>2014-02-17 22:19:49 +0000
commit6e1e8b0ada39b25a62d9235c22cfc2d2f9a63072 (patch)
tree813983fd35b494e0597706a51217b6688b64e517 /usr.sbin/pciconf/pciconf.8
parent547b2fb503640e47551e78e30d597c6075b3529f (diff)
downloadFreeBSD-src-6e1e8b0ada39b25a62d9235c22cfc2d2f9a63072.zip
FreeBSD-src-6e1e8b0ada39b25a62d9235c22cfc2d2f9a63072.tar.gz
MFC 260926:
Add support for displaying VPD for PCI devices via pciconf. - Store the length of each read-only VPD value since not all values are guaranteed to be ASCII values (though most are). - Add a new pciio ioctl to fetch VPD for a single PCI device. The values are returned as a list of variable length records, one for the device name and each keyword. - Add a new -V flag to pciconf's list mode which displays VPD data for each device.
Diffstat (limited to 'usr.sbin/pciconf/pciconf.8')
-rw-r--r--usr.sbin/pciconf/pciconf.824
1 files changed, 23 insertions, 1 deletions
diff --git a/usr.sbin/pciconf/pciconf.8 b/usr.sbin/pciconf/pciconf.8
index 7eacfab..e0caf1f 100644
--- a/usr.sbin/pciconf/pciconf.8
+++ b/usr.sbin/pciconf/pciconf.8
@@ -33,7 +33,7 @@
.Nd diagnostic utility for the PCI bus
.Sh SYNOPSIS
.Nm
-.Fl l Oo Fl bcev Oc Op Ar device
+.Fl l Oo Fl bcevV Oc Op Ar device
.Nm
.Fl a Ar device
.Nm
@@ -182,6 +182,28 @@ option is supplied,
will attempt to load the vendor/device information database, and print
vendor, device, class and subclass identification strings for each device.
.Pp
+If the
+.Fl V
+option is supplied,
+.Nm
+will list any vital product data
+.Pq VPD
+provided by each device.
+Each VPD keyword is enumerated via a line in the following format:
+.Bd -literal
+ VPD ro PN = '110114640C0 '
+.Ed
+.Pp
+The first string after the
+.Dq Li VPD
+prefix indicates if the keyword is read-only
+.Dq ro
+or read-write
+.Dq rw .
+The second string provides the keyword name.
+The text after the the equals sign lists the value of the keyword which is
+usually an ASCII string.
+.Pp
If the optional
.Ar device
argument is given with the
OpenPOWER on IntegriCloud