svn commit: r365009 - in head: share/man/man4/man4.i386 sys/i386/bios
Warner Losh
imp at FreeBSD.org
Mon Aug 31 21:04:01 UTC 2020
Author: imp
Date: Mon Aug 31 21:04:00 2020
New Revision: 365009
URL: https://svnweb.freebsd.org/changeset/base/365009
Log:
Add deprecation notice for apm BIOS
Add deprecation notice for apm bios, aka the apm(4) device. The apm(8)
command will remain, at least for a while, since ACPI emulates the apm
ioctl interface.
Discussed on: arch@
Relnotes: yes
MFC After: 3 days
Modified:
head/share/man/man4/man4.i386/apm.4
head/sys/i386/bios/apm.c
Modified: head/share/man/man4/man4.i386/apm.4
==============================================================================
--- head/share/man/man4/man4.i386/apm.4 Mon Aug 31 20:02:32 2020 (r365008)
+++ head/share/man/man4/man4.i386/apm.4 Mon Aug 31 21:04:00 2020 (r365009)
@@ -19,6 +19,9 @@
.Nd APM BIOS interface
.Sh SYNOPSIS
.Cd device apm
+.Sh DEPRECATION NOTICE
+This driver is scheduled for removal prior to the release of
+.Fx 13.0 .
.Sh DESCRIPTION
.Nm
is an interface to the Intel / Microsoft APM (Advanced Power Management) BIOS
Modified: head/sys/i386/bios/apm.c
==============================================================================
--- head/sys/i386/bios/apm.c Mon Aug 31 20:02:32 2020 (r365008)
+++ head/sys/i386/bios/apm.c Mon Aug 31 21:04:00 2020 (r365009)
@@ -1214,6 +1214,8 @@ apm_attach(device_t dev)
sc->sc_resume.ah_arg = sc;
apm_hook_establish(APM_HOOK_RESUME, &sc->sc_resume);
+ gone_in_dev(dev, 13, "APM support has been removed.");
+
return 0;
}
More information about the svn-src-all
mailing list