Date: Mon, 31 Aug 2020 21:04:00 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365009 - in head: share/man/man4/man4.i386 sys/i386/bios Message-ID: <202008312104.07VL40oR020759@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008312104.07VL40oR020759>