cvs commit: src/sys/dev/asr asr.c

Marius Strobl marius at FreeBSD.org
Mon Aug 2 16:32:23 PDT 2004


marius      2004-08-02 23:32:23 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/asr          asr.c 
  Log:
  - Set the CAM status to CAM_SCSI_STATUS_ERROR rather than CAM_REQ_CMP
    in case of a CHECK CONDITION.
  - Make this driver return SCSI status information.
  - While here, factor out the clearing of the CAM status from every
    element of the switch statement to only once before the switch.
  
  This fixes burning CDs with recent cdrecord 2.01 alpha versions and
  burners attached to asr(4) controllers but there could have been
  other applications and da(4) etc. also affected.
  
  Reviewed by:    gibbs, scottl
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.64      +8 -11     src/sys/dev/asr/asr.c


More information about the cvs-all mailing list