git: b0cfcd07bb61 - main - Revert "isa: Use gone_in_dev(9) for deprecation message"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Oct 2025 12:22:59 UTC
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");
}
/*