Commit 982fc454 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] CDROM changers timeout tweak

Been carrying this for ages..

From Jens Axboe:

   This is for changers, we may need more than the default
   5 second timeout for loading a disc since it may require
   moving stuff around :)
parent 28ec9b2a
......@@ -727,6 +727,7 @@ static int cdrom_load_unload(struct cdrom_device_info *cdi, int slot)
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment