lkml.org 
[lkml]   [2003]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Can't burn DVD under 2.5.59 with ide-cd
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:greg@ulima.unil.ch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:32    [from the cache]
©2003-2011 Jasper Spaans