HomeFreeBSD

Revert part of revision 1.97 by calling dc_stop() unconditionally
rS113592Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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

Details

Provenance
iedowseAuthored on
Parents
rS113591: Separate the encoding/decoding functions for struct disklabel into a
Branches
Unknown
Tags
Unknown

Event Timeline