diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2025-10-28 12:15:33 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2025-10-28 12:19:39 +0000 |
| commit | b0cfcd07bb6134ebe319c57142be2b53bb9090e7 (patch) | |
| tree | 03fed571087f3b3c5119314984e93d83dfa043e9 | |
| parent | 22cff1f3e9d82b48aad440c52f883bfd4995359c (diff) | |
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
| -rw-r--r-- | sys/isa/isa_common.c | 4 |
1 files 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"); } /* |
