From c4923ea4ad4ba09e2e3f3874406b326d3de030bf Mon Sep 17 00:00:00 2001 From: dyoung Date: Sat, 16 Feb 2008 02:00:37 +0000 Subject: [PATCH] Document -l, -Q, -R, and -S. --- sbin/drvctl/drvctl.8 | 51 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 42 insertions(+), 9 deletions(-) diff --git a/sbin/drvctl/drvctl.8 b/sbin/drvctl/drvctl.8 index 1a631bc998a4..ba846a319cc2 100644 --- a/sbin/drvctl/drvctl.8 +++ b/sbin/drvctl/drvctl.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: drvctl.8,v 1.4 2007/03/10 20:32:26 christos Exp $ +.\" $NetBSD: drvctl.8,v 1.5 2008/02/16 02:00:37 dyoung Exp $ .\" .\" Copyright (c) 2004 .\" Matthias Drochner. All rights reserved. @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd March 10, 2007 +.Dd Feburary 15, 2008 .Dt DRVCTL 8 .Os .Sh NAME @@ -40,8 +40,20 @@ .Fl d .Ar device .Nm +.Fl l +.Ar device +.Nm .Fl p .Ar device +.Nm +.Fl Q +.Ar device +.Nm +.Fl R +.Ar device +.Nm +.Fl S +.Ar device .Sh DESCRIPTION The .Nm @@ -52,13 +64,6 @@ drivers from devices. .Pp The following options are available: .Bl -tag -width 123456 -.It Fl r -Rescan the bus given by the -.Ar busdevice -argument. -The scan range can be restricted by an optional -.Ar locator -list. .It Fl a Give the interface attribute where children are to be attached to (and which defines the interpretation of @@ -69,11 +74,39 @@ has multiple attributes. Detach the device driver from the device given by the .Ar device argument. +.It Fl l +List the children of the device specified by the +.Ar device +argument. .It Fl p Get the properties for the device specified by the .Ar device argument. The properties are displayed as an XML property list. +.It Fl Q +Resume the ancestors of +.Ar device , +.Ar device +itself, and all of its descendants. +.It Fl R +Resume both the ancestors of +.Ar device +and +.Ar device +itself. +.It Fl r +Rescan the bus given by the +.Ar busdevice +argument. +The scan range can be restricted by an optional +.Ar locator +list. +.It Fl S +Suspend both the descendants of +.Ar device +and +.Ar device +itself. .El .Sh FILES .Pa /dev/drvctl