Messages in this thread Patch in this message |  | | Date | Thu, 28 Nov 1996 18:38:43 +0100 | From | Gerd Knorr <> | Subject | Re: 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); }
|  |