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
This commit is contained in:
Warner Losh 2020-08-31 21:04:00 +00:00
parent 8214b194ad
commit 8df7e154a2
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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;
}