On further testing on actual machines with this hardware, we should

only warn for devices that are attached. Add missing \n.
This commit is contained in:
Warner Losh 2017-12-30 08:16:31 +00:00
parent d14e21a831
commit 9e1472ca00
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327379

View file

@ -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");
}
/*