aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2016-02-02 22:55:03 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2016-02-02 22:55:03 +0000
commit0fd00e0caa889111fc31617db9cd9aa52e9c5eec (patch)
treee98049758241c2b78ec8aed0b6e50e3751548b35
parent0bcc841c3c2d9977e21734598110d589dad70d9f (diff)
downloadsrc-0fd00e0caa889111fc31617db9cd9aa52e9c5eec.tar.gz
src-0fd00e0caa889111fc31617db9cd9aa52e9c5eec.zip
- Note that devctl(8) will appear in 10.3 first.
- Add missing devctl_set_driver entry to namelist in devlist(3). - Fix sorting of function prototypes in devlist(3). MFC after: 3 days
Notes
Notes: svn path=/head/; revision=295174
-rw-r--r--lib/libdevctl/devctl.39
-rw-r--r--usr.sbin/devctl/devctl.84
2 files changed, 7 insertions, 6 deletions
diff --git a/lib/libdevctl/devctl.3 b/lib/libdevctl/devctl.3
index be869f9d9868..b2734cf4aa30 100644
--- a/lib/libdevctl/devctl.3
+++ b/lib/libdevctl/devctl.3
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 26, 2014
+.Dd February 2, 2016
.Dt DEVCTL 3
.Os
.Sh NAME
@@ -35,6 +35,7 @@
.Nm devctl_disable ,
.Nm devctl_enable ,
.Nm devctl_resume ,
+.Nm devctl_set_driver ,
.Nm devctl_suspend
.Nd device control library
.Sh LIBRARY
@@ -52,9 +53,9 @@
.Ft int
.Fn devctl_resume "const char *device"
.Ft int
-.Fn devctl_suspend "const char *device"
-.Ft int
.Fn devctl_set_driver "const char *device" "const char *driver" "bool force"
+.Ft int
+.Fn devctl_suspend "const char *device"
.Sh DESCRIPTION
The
.Nm
@@ -287,7 +288,7 @@ The new device driver failed to attach.
The
.Nm
library first appeared in
-.Fx 11.0 .
+.Fx 10.3 .
.Sh BUGS
If a device is suspended individually via
.Fn devctl_suspend
diff --git a/usr.sbin/devctl/devctl.8 b/usr.sbin/devctl/devctl.8
index fef42be13073..2257cb63cc3d 100644
--- a/usr.sbin/devctl/devctl.8
+++ b/usr.sbin/devctl/devctl.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 5, 2015
+.Dd February 2, 2016
.Dt DEVCTL 8
.Os
.Sh NAME
@@ -134,4 +134,4 @@ the device will not be changed.
The
.Nm
utility first appeared in
-.Fx 11.0 .
+.Fx 10.3 .