aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2021-06-01 04:33:12 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-06-10 15:28:29 +0000
commit90372d8ec305d75143378666a578d9ddc73f9ac1 (patch)
treed8caa130e67523cc025f320cb866775815ba39b6
parent21d163f8a1013278ecdded77abf6c0dfda554a46 (diff)
downloadsrc-90372d8ec305d75143378666a578d9ddc73f9ac1.tar.gz
src-90372d8ec305d75143378666a578d9ddc73f9ac1.zip
Add freeze/thaw description to devctl(8)
This is a follow-up to 5fa29797910346fc0c54829bd979856e83b9b7ea . PR: 256311 Reviewed by: imp MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D29867 (cherry picked from commit 315674fb6acc4fa54cf82de3863c349c5a71f498)
-rw-r--r--usr.sbin/devctl/devctl.823
1 files changed, 22 insertions, 1 deletions
diff --git a/usr.sbin/devctl/devctl.8 b/usr.sbin/devctl/devctl.8
index 17f480bd66ee..965c310d0868 100644
--- a/usr.sbin/devctl/devctl.8
+++ b/usr.sbin/devctl/devctl.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 4, 2019
+.Dd June 1, 2021
.Dt DEVCTL 8
.Os
.Sh NAME
@@ -67,6 +67,10 @@
.Op Fl f
.Ar device
.Nm
+.Cm freeze
+.Nm
+.Cm thaw
+.Nm
.Cm reset
.Op Fl d
.Ar device
@@ -170,6 +174,23 @@ the device will be deleted even if it is physically present.
This command should be used with care as a device that is deleted but present
can no longer be used unless the parent bus device rediscovers the device via
a rescan request.
+.It Cm freeze
+Freeze probe and attach processing initiated in response to drivers being
+loaded.
+Drivers are placed on a
+.Do
+frozen list
+.Dc
+and processed when a later
+.Do
+thaw
+.Dc
+occurs.
+.It Cm thaw
+Resume (thaw the freeze) probe and attach initiated in response to drivers
+being loaded.
+In addition to resuming, all pending actions that were frozen during the freeze
+are performed.
.It Xo Cm reset
.Op Fl d
.Ar device