lkml.org 
[lkml]   [2000]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CDROMPLAYTRKIND problems (as of 2.4.0-test8)
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/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.025 / U:2.800 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site