cvs commit: src/sys/pci if_dc.c

Nate Lawson nate at root.org
Thu Apr 17 13:37:34 PDT 2003


On Thu, 17 Apr 2003, Ian Dowse wrote:
>   Modified files:
>     sys/pci              if_dc.c 
>   Log:
>   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

Thank you for finding this.

-Nate



More information about the cvs-src mailing list