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

Next file: linux/include/asm-alpha/gentrap.h
Previous file: linux/drivers/scsi/st.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.29/linux/drivers/scsi/st_options.h linux/drivers/scsi/st_options.h
@@ -3,7 +3,7 @@
 
    Copyright 1995 Kai Makisara.
 
-   Last modified: Mon Sep 18 21:00:49 1995 by root@kai.makisara.fi
+   Last modified: Sun Sep 24 11:46:15 1995 by root@kai.makisara.fi
 */
 
 #ifndef _ST_OPTIONS_H
@@ -14,6 +14,11 @@
    The drawback of runtime allocation is that allocation may fail. In any
    case the driver tries to allocate a new tape buffer when none is free. */
 #define ST_RUNTIME_BUFFERS 0
+
+/* The minimum limit for the number of SCSI tape devices is determined by
+   ST_MAX_TAPES. If the number of tape devices and the "slack" defined by
+   ST_EXTRA_DEVS exceeds ST_MAX_TAPES, the large number is used. */
+#define ST_MAX_TAPES 4
 
 /* The driver does not wait for some operations to finish before returning
    to the user program if ST_NOWAIT is non-zero. This helps if the SCSI

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this