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

Peter Avalos pavalos at
Sat Dec 1 16:31:39 PST 2007

pavalos     2007/12/01 16:30:35 PST

DragonFly src repository

  Modified files:
    sys/bus/cam          cam_xpt.c 
  When deregistering a bus, attempt to flush out all outstanding
  operations before returning. Point the bus at a dummy cam_sim
  structure so that any CCBs will complete immediately with a
  CAM_DEV_NOT_THERE status, and ensure that any xpt_schedule() calls
  on the bus's devices will immediately call the peripheral's
  periph_start() routine. Also repeat the async messages because
  devices that were part of the way through being probed may appear
  after the original AC_LOST_DEVICE was sent, and would otherwise
  never go away.
  Obtained-from: FreeBSD
  Revision  Changes    Path
  1.56      +105 -10   src/sys/bus/cam/cam_xpt.c

More information about the Commits mailing list