Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/pcictl add some examples: "pcictl pci0 list" and "...



details:   https://anonhg.NetBSD.org/src/rev/5c8339d6d7d1
branches:  trunk
changeset: 347953:5c8339d6d7d1
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Sep 25 00:06:49 2016 +0000

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

diffstat:

 usr.sbin/pcictl/pcictl.8 |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 29e6f55833bf -r 5c8339d6d7d1 usr.sbin/pcictl/pcictl.8
--- a/usr.sbin/pcictl/pcictl.8  Sat Sep 24 23:54:49 2016 +0000
+++ b/usr.sbin/pcictl/pcictl.8  Sun Sep 25 00:06:49 2016 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index