Date: Wed, 9 Sep 2020 23:04:40 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r365542 - in stable/12: share/man/man4/man4.i386 sys/i386/bios Message-ID: <202009092304.089N4eY3045960@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Wed Sep 9 23:04:40 2020 New Revision: 365542 URL: https://svnweb.freebsd.org/changeset/base/365542 Log: MFC: r365009 r365009 | imp | 2020-08-31 15:04:00 -0600 (Mon, 31 Aug 2020) | 10 lines 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: stable/12/share/man/man4/man4.i386/apm.4 stable/12/sys/i386/bios/apm.c Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man4/man4.i386/apm.4 ============================================================================== --- stable/12/share/man/man4/man4.i386/apm.4 Wed Sep 9 23:01:55 2020 (r365541) +++ stable/12/share/man/man4/man4.i386/apm.4 Wed Sep 9 23:04:40 2020 (r365542) @@ -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: stable/12/sys/i386/bios/apm.c ============================================================================== --- stable/12/sys/i386/bios/apm.c Wed Sep 9 23:01:55 2020 (r365541) +++ stable/12/sys/i386/bios/apm.c Wed Sep 9 23:04:40 2020 (r365542) @@ -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?202009092304.089N4eY3045960>