cvs commit: src/sys/cam cam_periph.c cam_xpt.c

Ian Dowse iedowse at
Sun Feb 26 14:38:40 PST 2006

iedowse     2006-02-26 22:38:39 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/cam              cam_periph.c cam_xpt.c 
  MFC: when deregistering a bus, attempt to flush out all outstanding
  operations before returning, and point the bus at a dummy cam_sim
  structure. This avoids crashes in camisr() when umass devices are
  unplugged during probing.
  It may however be better to simply sleep in xpt_bus_deregister()
  until all operations have completed, but it is still useful to have
  this MFC'd in the meantime.
  Approved by:    re (scottl)
  Revision   Changes    Path   +2 -0      src/sys/cam/cam_periph.c  +111 -8    src/sys/cam/cam_xpt.c

More information about the cvs-src mailing list