Date: Thu, 17 Apr 2003 01:36:53 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_dc.c Message-ID: <200304170836.h3H8ar9s084352@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2003/04/17 01:36:53 PDT
FreeBSD src repository
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
Revision Changes Path
1.102 +1 -2 src/sys/pci/if_dc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304170836.h3H8ar9s084352>
