Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2021 04:33:45 GMT
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 315674fb6acc - main - Add freeze/thaw description to devctl(8)
Message-ID:  <202106010433.1514XjOE077784@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=315674fb6acc4fa54cf82de3863c349c5a71f498

commit 315674fb6acc4fa54cf82de3863c349c5a71f498
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2021-06-01 04:33:12 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-06-01 04:33:12 +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
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106010433.1514XjOE077784>