On Wed, Jan 22, 2003 at 09:35:30AM +0100, Jens Axboe wrote:
> Sounds plausible. Patch attached. Anyone care to expand on _why_ these
> status bytes are shifted one bit?
>
> ===== drivers/ide/ide-cd.c 1.35 vs edited =====
> --- 1.35/drivers/ide/ide-cd.c Thu Nov 21 22:56:59 2002
> +++ edited/drivers/ide/ide-cd.c Wed Jan 22 09:34:28 2003
> @@ -706,7 +706,7 @@
> * scsi status byte
> */
> if ((rq->flags & REQ_BLOCK_PC) && !rq->errors)
> - rq->errors = CHECK_CONDITION;
> + rq->errors = CHECK_CONDITION << 1;
>
> /* Check for tray open. */
> if (sense_key == NOT_READY) {
Great ;-)
I'll test this tonight, thank you very much!!!
Gr�goire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]