git: ce6792d3cd79 - main - isa: Use gone_in_dev(9) for deprecation message

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Mon, 27 Oct 2025 12:51:39 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=ce6792d3cd798079f0c9ba244faba4ea666bb6f4

commit ce6792d3cd798079f0c9ba244faba4ea666bb6f4
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-10-26 17:06:57 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-10-27 12:51:12 +0000

    isa: Use gone_in_dev(9) for deprecation message
    
    Reviewed by:    bz, imp
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D53366
---
 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 41a63a3c676c..91a0ee1f2f3d 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))
-			device_printf(child,
-			    "non-PNP ISA device will be removed from GENERIC in FreeBSD 16.\n");
+			gone_in_dev(child, 16,
+			    "WARNING: non-PNP ISA device will be removed from GENERIC\n");
 	}
 
 	/*