Skip to content

Commit b0cfcd0

Browse files
committed
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 ce6792d. Reported by: glebius Sponsored by: The FreeBSD Foundation
1 parent 22cff1f commit b0cfcd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sys/isa/isa_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,8 @@ isa_probe_children(device_t dev)
569569
if (err == 0 && idev->id_vendorid == 0 &&
570570
strcmp(kern_ident, "GENERIC") == 0 &&
571571
device_is_attached(child))
572-
gone_in_dev(child, 16,
573-
"WARNING: non-PNP ISA device will be removed from GENERIC\n");
572+
device_printf(child,
573+
"non-PNP ISA device will be removed from GENERIC in FreeBSD 16.\n");
574574
}
575575

576576
/*

0 commit comments

Comments
 (0)