patch-2.0.35 linux/drivers/cdrom/mcd.c

Next file: linux/drivers/cdrom/sonycd535.c
Previous file: linux/drivers/cdrom/cm206.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.34/linux/drivers/cdrom/mcd.c linux/drivers/cdrom/mcd.c
@@ -311,7 +311,10 @@
 	{
 		i = updateToc();
 		if (i < 0)
-			return i;	/* error reading TOC */
+			/* Hermann.Lauer@IWR.Uni-Heidelberg.De:
+		 	We _can_ open the door even without a CD */
+			if (cmd != CDROMEJECT)
+				return i;	/* error reading TOC */
 	}
 
 	switch (cmd)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov