Re: CDROMPLAYTRKIND problems (as of 2.4.0-test8)

From: Jens Axboe (axboe@suse.de)
Date: Sat Oct 14 2000 - 20:51:53 EST


On Sat, Oct 14 2000, Byron Stanoszek wrote:
> function in ide-cd.c, we see:
>
> pc.c[0] = GPCMD_PLAY_AUDIO_10;
> put_unaligned(cpu_to_be32(lba_start), (unsigned int *) &pc.c[2]);
> put_unaligned(cpu_to_be16(lba_end - lba_start), (unsigned int *) &pc.c[7]);

        pc.c[0] = GPCMD_PLAY_AUDIO_MSF;
        lba_to_msf(lba_start, &pc.c[3], &pc.c[4], &pc.c[5]);
        lba_to_msf(lba_end-1, &pc.c[6], &pc.c[7], &pc.c[8]);

should work, is just hasn't made it into 2.4 just yet (it's in
2.2.18-pre)

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:28 EST