diff options
Diffstat (limited to 'sys/kern/subr_bus.c')
-rw-r--r-- | sys/kern/subr_bus.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c index 46aac7d..aafbdad 100644 --- a/sys/kern/subr_bus.c +++ b/sys/kern/subr_bus.c @@ -790,8 +790,10 @@ device_probe_child(device_t dev, device_t child) /* * The driver returned an error so it certainly doesn't match. */ - if (result > 0) + if (result > 0) { + device_set_driver(child, 0); continue; + } /* * A priority lower than SUCCESS, remember the best matching |