diff options
author | iedowse <iedowse@FreeBSD.org> | 2003-04-17 08:36:52 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2003-04-17 08:36:52 +0000 |
commit | 1bc9e58dac87a3728201ca739f20f1a31595c34a (patch) | |
tree | 237a8c066ed6182dee398117f5118dcecfd32fae /sys/geom/geom_bsd.c | |
parent | f33582721f3a0ec7c7294fe4dde9efbc2058633b (diff) | |
download | FreeBSD-src-1bc9e58dac87a3728201ca739f20f1a31595c34a.zip FreeBSD-src-1bc9e58dac87a3728201ca739f20f1a31595c34a.tar.gz |
Revert part of revision 1.97 by calling dc_stop() unconditionally
in dc_detach() instead of only calling it if the hardware is preset.
This is a workaround for page faults in softclock() after a `dc'
device was detached, caused by not disabling a timer before freeing
its memory. The bus_child_present() checks should probably be
re-added later, but only to avoid the hardware accesses and not the
other resource cleanups in dc_stop().
Approved by: njl
Diffstat (limited to 'sys/geom/geom_bsd.c')
0 files changed, 0 insertions, 0 deletions