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 ce6792d3cd.

Reported by:	glebius
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste committed 2025-10-28 08:19:39 -04:00
1 parent 22cff1f3e9
commit b0cfcd07bb
1 file changed
+2 -2
+2 -2
View File
@@ -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");
}
/*