Re: git: 46f982122c0d - main - sys: Bump non-ISA PNP removal to 16.0

From: Ed Maste <emaste_at_freebsd.org>
Date: Sun, 26 Oct 2025 17:08:49 UTC
On Sun, 26 Oct 2025 at 06:54, Bjoern A. Zeeb <bz@freebsd.org> wrote:
>
> On Sat, 25 Oct 2025, Ed Maste wrote:
>
> > The branch main has been updated by emaste:
> >
> > URL: https://cgit.FreeBSD.org/src/commit/?id=46f982122c0d670ac181b748a5b8c2b221f61517
> >
> > commit 46f982122c0d670ac181b748a5b8c2b221f61517
> > Author:     Ed Maste <emaste@FreeBSD.org>
> > AuthorDate: 2025-10-24 18:39:00 +0000
> > Commit:     Ed Maste <emaste@FreeBSD.org>
> > CommitDate: 2025-10-25 22:57:15 +0000
> >
> >    sys: Bump non-ISA PNP removal to 16.0
> >
> >    This may include atkbdc, which is not being removed in 15.0.
>
> We really ought to have a macro for these somehow so we can grep them more easily.
> Could even be a sysinit just spitting them out whenever they are compiled in to
> increase the pain and visibility on main.  Add a tunable for people to turn them
> off ;-)

We have gone_in(9) to indicate functionality that will be removed; I
suppose this message was added prior to the creation of gone_in().
https://reviews.freebsd.org/D53366 is now open to switch it to
gone_in().

Other gone_in()s with a post-15 removal:

sys/dev/le/lance.c:     gone_in(16, "Warning! le(4) to be removed: no
longer needed for "
sys/kern/kern_sendfile.c:               gone_in(16, "Warning! %s[%u]
uses SF_SYNC sendfile(2) flag. "
sys/netinet/tcp_sack.c:         gone_in(16, "net.inet.tcp.sack.revised
will be deprecated."
sys/netinet/tcp_timewait.c:             gone_in(16,
"net.inet.tcp.nolocaltimewait is obsolete."

and one with a pre-15 removal:

sys/dev/drm2/drm_os_freebsd.h:#define DRM_OBSOLETE(dev)
gone_in_dev(dev, 13, DRM_MSG)