Document -l, -Q, -R, and -S.

This commit is contained in:
dyoung 2008-02-16 02:00:37 +00:00
parent 99f27439b5
commit c4923ea4ad
1 changed files with 42 additions and 9 deletions

View File

@ -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