--- sonycd535.c-orig Thu Jan 7 08:46:59 1999
+++ sonycd535.c Wed Aug 18 19:00:59 1999
@@ -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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/