cvs commit: src/sys/pci if_dc.c

Ian Dowse iedowse at FreeBSD.org
Thu Apr 17 01:36:54 PDT 2003


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


More information about the cvs-src mailing list