summaryrefslogtreecommitdiff
path: root/sys/isa
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-12-30 08:16:31 +0000
committerWarner Losh <imp@FreeBSD.org>2017-12-30 08:16:31 +0000
commit9e1472ca00da95f037458a52e8de99deac6cf5a0 (patch)
treec88f5eadacb39c9a1391c848a545dbbafb7647b5 /sys/isa
parentd14e21a831b02a4d9c43edd24db3ed0b3ba98837 (diff)
downloadsrc-test2-9e1472ca00da95f037458a52e8de99deac6cf5a0.tar.gz
src-test2-9e1472ca00da95f037458a52e8de99deac6cf5a0.zip
Notes
Diffstat (limited to 'sys/isa')
-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");
}
/*