patch-2.3.4 linux/drivers/block/ide-cd.c

Next file: linux/drivers/block/ide-disk.c
Previous file: linux/drivers/block/hpt343.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.3/linux/drivers/block/ide-cd.c linux/drivers/block/ide-cd.c
@@ -249,6 +249,7 @@
 
 #define IDECD_VERSION "4.53"
 
+#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
@@ -3014,6 +3015,7 @@
 				break;
 		}
 	}
+	(void) ide_cdrom_select_disc(devinfo, 0);
 }
 #endif /* CONFIG_IDECD_SLOTS */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)