Date: Tue, 28 Oct 2025 12:22:59 GMT From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: b0cfcd07bb61 - main - Revert "isa: Use gone_in_dev(9) for deprecation message" Message-ID: <202510281222.59SCMx4J058279@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=b0cfcd07bb6134ebe319c57142be2b53bb9090e7 commit b0cfcd07bb6134ebe319c57142be2b53bb9090e7 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2025-10-28 12:15:33 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2025-10-28 12:19:39 +0000 Revert "isa: Use gone_in_dev(9) for deprecation message" gone_in(_dev) prints only one message per function call src line, so this would miss reporting for the second and later such devices. This reverts commit ce6792d3cd798079f0c9ba244faba4ea666bb6f4. Reported by: glebius Sponsored by: The FreeBSD Foundation --- sys/isa/isa_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c index 91a0ee1f2f3d..41a63a3c676c 100644 --- a/sys/isa/isa_common.c +++ b/sys/isa/isa_common.c @@ -569,8 +569,8 @@ isa_probe_children(device_t dev) if (err == 0 && idev->id_vendorid == 0 && strcmp(kern_ident, "GENERIC") == 0 && device_is_attached(child)) - gone_in_dev(child, 16, - "WARNING: non-PNP ISA device will be removed from GENERIC\n"); + device_printf(child, + "non-PNP ISA device will be removed from GENERIC in FreeBSD 16.\n"); } /*home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510281222.59SCMx4J058279>
