Date: Mon, 2 Aug 2004 23:32:23 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/asr asr.c Message-ID: <200408022332.i72NWN92046584@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408022332.i72NWN92046584>
