patch-2.4.19 linux-2.4.19/drivers/cdrom/cdrom.c

Next file: linux-2.4.19/drivers/char/Config.in
Previous file: linux-2.4.19/drivers/bluetooth/hci_vhci.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/cdrom/cdrom.c linux-2.4.19/drivers/cdrom/cdrom.c
@@ -761,6 +761,7 @@
 	cgc.cmd[0] = GPCMD_LOAD_UNLOAD;
 	cgc.cmd[4] = 2 + (slot >= 0);
 	cgc.cmd[8] = slot;
+	cgc.timeout = 60 * HZ;
 
 	/* The Sanyo 3 CD changer uses byte 7 of the 
 	GPCMD_TEST_UNIT_READY to command to switch CDs instead of

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