summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/isa/isa_common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c
index c95fe46655cc..56fa0f2ba987 100644
--- a/sys/isa/isa_common.c
+++ b/sys/isa/isa_common.c
@@ -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");
}
/*