Module Name:    src
Committed By:   mrg
Date:           Sun Sep 25 00:06:49 UTC 2016

Modified Files:
        src/usr.sbin/pcictl: pcictl.8

Log Message:
add some examples:  "pcictl pci0 list" and "pcictl pci0 list -N".
inspired by PR 51243.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/pcictl/pcictl.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/pcictl/pcictl.8
diff -u src/usr.sbin/pcictl/pcictl.8:1.16 src/usr.sbin/pcictl/pcictl.8:1.17
--- src/usr.sbin/pcictl/pcictl.8:1.16	Wed Sep 10 21:13:50 2014
+++ src/usr.sbin/pcictl/pcictl.8	Sun Sep 25 00:06:49 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pcictl.8,v 1.16 2014/09/10 21:13:50 wiz Exp $
+.\"	$NetBSD: pcictl.8,v 1.17 2016/09/25 00:06:49 mrg Exp $
 .\"
 .\" Copyright 2001 Wasabi Systems, Inc.
 .\" All rights reserved.
@@ -33,7 +33,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 31, 2014
+.Dd September 23, 2016
 .Dt PCICTL 8
 .Os
 .Sh NAME
@@ -126,6 +126,14 @@ system.
 It is meant as a diagnostic tool for experiments or to debug device
 drivers.
 Do not use it as a substitute for a device driver!
+.Sh EXAMPLES
+This show all PCI devices on the system:
+.Pp
+.Dl pcictl pci0 list
+.Pp
+This show all PCI devices on the system, including attached drivers:
+.Pp
+.Dl pcictl pci0 list -N
 .Sh FILES
 .Pa /dev/pci*
 - PCI bus device nodes

Reply via email to