git: 8d147537bf03 - main - newbus: Remove deprecated "kern" system name for resume events.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Dec 2022 18:08:49 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=8d147537bf03e983f27664a5d44b983112545705
commit 8d147537bf03e983f27664a5d44b983112545705
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-12-02 17:47:01 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-12-02 17:48:02 +0000
newbus: Remove deprecated "kern" system name for resume events.
The new "kernel" system name is the one that's documented and has
been generated for a year now. Remove the old one now that 14.0
is getting close.
Sponsored by: Netflix
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D37582
---
sbin/devd/devd.conf.5 | 10 +---------
sys/kern/subr_bus.c | 1 -
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/sbin/devd/devd.conf.5 b/sbin/devd/devd.conf.5
index af96843937c5..d07b776c3ee8 100644
--- a/sbin/devd/devd.conf.5
+++ b/sbin/devd/devd.conf.5
@@ -40,7 +40,7 @@
.\" ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
.\" SOFTWARE.
.\"
-.Dd September 22, 2022
+.Dd December 1, 2022
.Dt DEVD.CONF 5
.Os
.Sh NAME
@@ -475,14 +475,6 @@ The network interface address removed.
.Pp
.Bl -column "System" "Subsystem" "1234567" -compact
.Sy "System" Ta Sy "Subsystem" Ta Sy "Type" Ta Sy "Description"
-.It Li kern Ta Li power Ta Li resume Ta
-Notification that the system has woken from the suspended state.
-Note: this notification is deprecated and will be removed in
-.Fx 14.0 .
-.El
-.Pp
-.Bl -column "System" "Subsystem" "1234567" -compact
-.Sy "System" Ta Sy "Subsystem" Ta Sy "Type" Ta Sy "Description"
.It Li kernel Ta Li signal Ta Li coredump Ta
Notification that a process has crashed and dumped core.
.It Li kernel Ta Li power Ta Li resume Ta
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
index a17d669f87ee..739484ad849a 100644
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -4704,7 +4704,6 @@ root_resume(device_t dev)
error = bus_generic_resume(dev);
if (error == 0) {
- devctl_notify("kern", "power", "resume", NULL); /* Deprecated gone in 14 */
devctl_notify("kernel", "power", "resume", NULL);
}
return (error);