diff options
author | joerg <joerg@FreeBSD.org> | 2001-07-09 20:50:41 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2001-07-09 20:50:41 +0000 |
commit | f5775f98cb6aa84680d088f65af424c2e02e9279 (patch) | |
tree | 4dbe747869377040cab1e7f1a374c5b87f8197d0 /sys/isa | |
parent | aff6414a8daed2aef5000a53424f7ece14633d23 (diff) | |
download | FreeBSD-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/isa')
-rw-r--r-- | sys/isa/fd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c index cf9a738..8a09707 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.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); } |