patch-2.4.20 linux-2.4.20/drivers/scsi/st_options.h

Next file: linux-2.4.20/drivers/scsi/sun3x_esp.c
Previous file: linux-2.4.20/drivers/scsi/st.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/scsi/st_options.h linux-2.4.20/drivers/scsi/st_options.h
@@ -1,9 +1,9 @@
 /*
    The compile-time configurable defaults for the Linux SCSI tape driver.
 
-   Copyright 1995-2000 Kai Makisara.
+   Copyright 1995-2002 Kai Makisara.
 
-   Last modified: Sat Apr 22 14:47:02 2000 by makisara@kai.makisara.local
+   Last modified: Wed May  1 11:06:47 2002 by makisara
 */
 
 #ifndef _ST_OPTIONS_H
@@ -99,5 +99,12 @@
    The default is BSD semantics. */
 #define ST_SYSV 0
 
+/* Open without O_NONBLOCK blocks if the drive is not ready (blocking times out
+   after 2 minutes) */
+#define ST_BLOCKING_OPEN 0
+
+/* Time to wait for the drive to become ready if blocking open */
+#define ST_BLOCK_SECONDS     120
+
 
 #endif

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