patch-2.0.5 linux/drivers/block/ide-cd.c
Next file: linux/drivers/cdrom/cdrom.c
Previous file: linux/arch/i386/boot/tools/build.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jul 10 13:11:15 1996
- Orig file:
v2.0.4/linux/drivers/block/ide-cd.c
- Orig date:
Mon Jul 8 16:09:52 1996
diff -u --recursive --new-file v2.0.4/linux/drivers/block/ide-cd.c linux/drivers/block/ide-cd.c
@@ -104,6 +104,7 @@
* from Ben Galliart <bgallia@luc.edu> with
* special help from Jeff Lightfoot
* <jeffml@netcom.com>
+ * 3.15a July 9, 1996 -- Improved Sanyo 3 CD changer identification
*
* NOTE: Direct audio reads will only work on some types of drive.
* So far, i've received reports of success for Sony and Toshiba drives.
@@ -2657,7 +2658,8 @@
/* Sanyo 3 CD changer uses a non-standard command
for CD changing */
- else if (strcmp (drive->id->model, "CD-ROM CDR-C3 G") == 0) {
+ else if ((strcmp(drive->id->model, "CD-ROM CDR-C3 G") == 0) ||
+ (strcmp(drive->id->model, "CD-ROM CDR-C3G") == 0)) {
/* uses CD in slot 0 when value is set to 3 */
CDROM_STATE_FLAGS (drive)->sanyo_slot = 3;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov