1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-27 08:00:11 +00:00

Add freeze/thaw description to devctl(8)

This is a follow-up to 5fa2979791 .

PR:		256311
Reviewed by:	imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D29867
This commit is contained in:
Li-Wen Hsu 2021-06-01 12:33:12 +08:00
parent 1d4afcaca2
commit 315674fb6a
No known key found for this signature in database
GPG Key ID: 8D7BCC7D012FD37E

View File

@ -24,7 +24,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd April 4, 2019 .Dd June 1, 2021
.Dt DEVCTL 8 .Dt DEVCTL 8
.Os .Os
.Sh NAME .Sh NAME
@ -67,6 +67,10 @@
.Op Fl f .Op Fl f
.Ar device .Ar device
.Nm .Nm
.Cm freeze
.Nm
.Cm thaw
.Nm
.Cm reset .Cm reset
.Op Fl d .Op Fl d
.Ar device .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 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 can no longer be used unless the parent bus device rediscovers the device via
a rescan request. 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 .It Xo Cm reset
.Op Fl d .Op Fl d
.Ar device .Ar device