From f5775f98cb6aa84680d088f65af424c2e02e9279 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 9 Jul 2001 20:50:41 +0000 Subject: Remove parts of rev 1.211 again: do not delete our children iff they haven't been probed successfully. It's a known bug that ISA hints processing instantiates those devices, and prematurely killing them has other unwanted side-effects. --- sys/dev/fdc/fdc.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys/dev/fdc') diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index cf9a738..8a09707 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -888,13 +888,6 @@ fdc_attach(device_t dev) if ((error = bus_generic_attach(dev)) != 0) return (error); - /* Now remove all children not successfully probed (if any). */ - if ((error = device_get_children(dev, &children, &nchildren)) != 0) - return (error); - for (i = 0; i < nchildren; i++) - if (!device_is_alive(children[i])) - device_delete_child(dev, children[i]); - return (0); } -- cgit v1.1