public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Pierre Rousselet <pierre.rousselet@wanadoo.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.1-pre7 ide-cd module
Date: Sat, 8 Dec 2001 17:45:52 +0100	[thread overview]
Message-ID: <20011208164552.GR11567@suse.de> (raw)
In-Reply-To: <3C1235C4.BC20AC8E@wanadoo.fr> <20011208161847.GK11567@suse.de> <3C12421C.47337242@wanadoo.fr>
In-Reply-To: <3C12421C.47337242@wanadoo.fr>

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

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


[-- Attachment #2: ide-cd-cap --]
[-- Type: text/plain, Size: 553 bytes --]

--- /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);
 	}
 

  reply	other threads:[~2001-12-08 16:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-08 15:46 2.5.1-pre7 ide-cd module Pierre Rousselet
2001-12-08 16:18 ` Jens Axboe
2001-12-08 16:38   ` Pierre Rousselet
2001-12-08 16:45     ` Jens Axboe [this message]
2001-12-08 16:48       ` Pierre Rousselet
2001-12-08 16:54         ` Jens Axboe
2001-12-08 17:32       ` Pierre Rousselet
2001-12-08 19:12   ` Udo A. Steinberg
2001-12-08 19:15     ` Jens Axboe
2001-12-08 19:28       ` Udo A. Steinberg
2001-12-08 19:44         ` Jens Axboe
2001-12-08 19:53           ` Udo A. Steinberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011208164552.GR11567@suse.de \
    --to=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pierre.rousselet@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox