Messages in this thread Patch in this message | | | Date | Sat, 8 Dec 2001 17:45:52 +0100 | From | Jens Axboe <> | Subject | Re: 2.5.1-pre7 ide-cd module |
| |
On Sat, Dec 08 2001, Pierre Rousselet wrote: > > Is this a new problem? > > The same is in 2.5.1-pre5 (i reported the 'Can play audio : 0' to l-k).
How about 2.4.16? Try attached patch.
-- Jens Axboe
--- /opt/kernel/linux-2.5.1-pre7/drivers/ide/ide-cd.c Fri Dec 7 20:38:44 2001 +++ drivers/ide/ide-cd.c Sat Dec 8 11:42:47 2001 @@ -2527,8 +2527,10 @@ * page capabilities size, but older drives break. */ if (drive->id) { - if (!(!strcmp(drive->id->model, "ATAPI CD ROM DRIVE 50X MAX") || - !strcmp(drive->id->model, "WPI CDS-32X"))) + if (!(!strcmp(drive->id->model, "ATAPI CD ROM DRIVE 50X MAX") + || !strcmp(drive->id->model, "WPI CDS-32X")) + || !strcmp(drive->id->model, "CRD-8240B")) + size -= sizeof(cap->pad); } | |