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

Peter Avalos pavalos at crater.dragonflybsd.org
Wed Nov 28 17:33:25 PST 2007


pavalos     2007/11/28 17:32:16 PST

DragonFly src repository

  Modified files:
    sys/bus/cam          cam_xpt.c 
  Log:
  Restore queue depth settings across tag disable events.  The system often
  disables tag queuing temporarily in order to allow controllers a window
  to safely perform transfer negotiation with non-compliant devices.  Before
  this change, CAM would restore the queue depth to the controller specified
  maximum or device quirk level rather than any depth determined by reactions
  to QUEUE FULL/BUSY events or an explicit user setting.
  
  During device probe, initialize the flags field for XPT_SCAN_BUS.
  The uninitialized value often confused CAM into not bothering to
  issue an AC_FOUND_DEVICE async event for new devices.  The reason
  this bug wasn't reported earlier is that CAM manually announces
  devices after the initial system bus scans.
  
  Obtained-from: FreeBSD
  
  Revision  Changes    Path
  1.50      +13 -2     src/sys/bus/cam/cam_xpt.c


http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam_xpt.c.diff?r1=1.49&r2=1.50&f=u





More information about the Commits mailing list