Author: imp
Date: Sat Dec 30 08:16:31 2017
New Revision: 327379
URL: https://svnweb.freebsd.org/changeset/base/327379
Log:
On further testing on actual machines with this hardware, we should
only warn for devices that are attached. Add missing \n.
Modified:
head/sys/isa/isa_common.c
Modified: head/sys/isa/isa_common.c
==============================================================================
--- head/sys/isa/isa_common.c Sat Dec 30 07:59:32 2017 (r327378)
+++ head/sys/isa/isa_common.c Sat Dec 30 08:16:31 2017 (r327379)
@@ -573,9 +573,10 @@ isa_probe_children(device_t dev)
err = device_probe_and_attach(child);
if (err == 0 && idev->id_vendorid == 0 &&
- strcmp(kern_ident, "GENERIC") == 0)
+ strcmp(kern_ident, "GENERIC") == 0 &&
+ device_is_attached(child))
device_printf(child,
- "non-PNP ISA device will be removed from GENERIC in
FreeBSD 12.");
+ "non-PNP ISA device will be removed from GENERIC in
FreeBSD 12.\n");
}
/*
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"