Source-Changes-HG archive

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

[src/netbsd-7]: src/usr.sbin/pcictl Pull up following revision(s) (requested ...



details:   https://anonhg.NetBSD.org/src/rev/7b49d858ce24
branches:  netbsd-7
changeset: 798366:7b49d858ce24
user:      snj <snj%NetBSD.org@localhost>
date:      Sun Sep 21 18:38:53 2014 +0000

description:
Pull up following revision(s) (requested by riastradh in ticket #105):
        usr.sbin/pcictl/pcictl.8: revisions 1.15-1.16
Sternly advise against `pcictl read/write'.  Use .Cm, not .Nm, while here.
Fix pasto.

diffstat:

 usr.sbin/pcictl/pcictl.8 |  24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r f319f0088ceb -r 7b49d858ce24 usr.sbin/pcictl/pcictl.8
--- a/usr.sbin/pcictl/pcictl.8  Sun Sep 21 18:34:50 2014 +0000
+++ b/usr.sbin/pcictl/pcictl.8  Sun Sep 21 18:38:53 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pcictl.8,v 1.10.22.1 2014/09/10 08:38:31 martin Exp $
+.\"    $NetBSD: pcictl.8,v 1.10.22.2 2014/09/21 18:38:53 snj Exp $
 .\"
 .\" Copyright 2001 Wasabi Systems, Inc.
 .\" All rights reserved.
@@ -80,7 +80,7 @@
 PCI bus specified on the command line.
 If the function is not specified, it defaults to 0.
 .Pp
-.Nm read
+.Cm read
 .Op Fl b Ar bus
 .Fl d Ar device
 .Op Fl f Ar function
@@ -92,7 +92,16 @@
 PCI bus specified on the command line.
 If the function is not specified, it defaults to 0.
 .Pp
-.Nm write
+.Em WARNING:
+.Nm
+.Cm read
+is a dangerous command that can damage hardware and panic the operating
+system, even though it appears to be a harmless read-only operation.
+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!
+.Pp
+.Cm write
 .Op Fl b Ar bus
 .Fl d Ar device
 .Op Fl f Ar function
@@ -104,6 +113,15 @@
 If the bus is not specified, it defaults to the bus number of the
 PCI bus specified on the command line.
 If the function is not specified, it defaults to 0.
+.Pp
+.Em WARNING:
+.Nm
+.Cm write
+is a dangerous command that can damage hardware and panic the operating
+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 FILES
 .Pa /dev/pci*
 - PCI bus device nodes



Home | Main Index | Thread Index | Old Index