git: 90372d8ec305 - stable/13 - Add freeze/thaw description to devctl(8)

Li-Wen Hsu lwhsu at FreeBSD.org
Thu Jun 10 15:29:25 UTC 2021


The branch stable/13 has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=90372d8ec305d75143378666a578d9ddc73f9ac1

commit 90372d8ec305d75143378666a578d9ddc73f9ac1
Author:     Li-Wen Hsu <lwhsu at FreeBSD.org>
AuthorDate: 2021-06-01 04:33:12 +0000
Commit:     Li-Wen Hsu <lwhsu at FreeBSD.org>
CommitDate: 2021-06-10 15:28:29 +0000

    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)
---
 usr.sbin/devctl/devctl.8 | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

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


More information about the dev-commits-src-all mailing list