patch-2.2.12 linux/drivers/cdrom/sonycd535.c
Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/block/ide-pmac.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed Aug 25 17:29:46 1999
- Orig file:
v2.2.11/linux/drivers/cdrom/sonycd535.c
- Orig date:
Thu Jan 7 08:46:59 1999
diff -u --recursive --new-file v2.2.11/linux/drivers/cdrom/sonycd535.c linux/drivers/cdrom/sonycd535.c
@@ -1524,9 +1524,11 @@
printk(CDU535_MESSAGE_NAME ": my base address is not free!\n");
return -EIO;
}
+
/* look for the CD-ROM, follows the procedure in the DOS driver */
inb(select_unit_reg);
/* wait for 40 18 Hz ticks (reverse-engineered from DOS driver) */
+ current->state = TASK_INTERRUPTIBLE;
schedule_timeout((HZ+17)*40/18);
inb(result_reg);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)