lkml.org 
[lkml]   [1996]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Anybody having IDE-CD problems with 2.1.10?

In linux.dev.kernel you write:


>Perhaps those who ARE having door-locking problems could take a look at the
>ide-cd driver and the generic cdrom driver and see if they can figure out
>the problem.

How about this one?

Gerd

-----------------------------------------------------------------------------
--- kernel/2.1.13/drivers/block/ide-cd.c Tue Nov 26 15:59:12 1996
+++ linux/drivers/block/ide-cd.c Thu Nov 28 18:29:27 1996
@@ -1220,6 +1220,7 @@
if (CDROM_STATE_FLAGS (drive)->door_locked == 0 &&
(pc->c[0] != REQUEST_SENSE &&
pc->c[0] != ALLOW_MEDIUM_REMOVAL &&
+ pc->c[0] != MODE_SENSE_10 &&
pc->c[0] != START_STOP)) {
(void) cdrom_lockdoor (drive, 1, NULL);
}
\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site