lkml.org 
[lkml]   [2001]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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);
}
\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.081 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site