summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2001-07-09 20:50:41 +0000
committerjoerg <joerg@FreeBSD.org>2001-07-09 20:50:41 +0000
commitf5775f98cb6aa84680d088f65af424c2e02e9279 (patch)
tree4dbe747869377040cab1e7f1a374c5b87f8197d0 /sys/dev
parentaff6414a8daed2aef5000a53424f7ece14633d23 (diff)
downloadFreeBSD-src-f5775f98cb6aa84680d088f65af424c2e02e9279.zip
FreeBSD-src-f5775f98cb6aa84680d088f65af424c2e02e9279.tar.gz
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.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fdc/fdc.c7
1 files changed, 0 insertions, 7 deletions
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);
}
OpenPOWER on IntegriCloud