st_options.h (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) st_options.h (40f6b36c6243462fb95d0343237331c423494b03)
1/*
2 The compile-time configurable defaults for the Linux SCSI tape driver.
3
4 Copyright 1995-2003 Kai Makisara.
5
1/*
2 The compile-time configurable defaults for the Linux SCSI tape driver.
3
4 Copyright 1995-2003 Kai Makisara.
5
6 Last modified: Mon Apr 7 22:49:18 2003 by makisara
6 Last modified: Thu Feb 21 21:47:07 2008 by kai.makisara
7*/
8
9#ifndef _ST_OPTIONS_H
10#define _ST_OPTIONS_H
11
12/* If TRY_DIRECT_IO is non-zero, the driver tries to transfer data directly
13 between the user buffer and tape drive. If this is not possible, driver
14 buffer is used. If TRY_DIRECT_IO is zero, driver buffer is always used. */

--- 74 unchanged lines hidden (view full) ---

89 MTIOCPOS and MTSEEK by default. Vendor addresses are used if ST_SCSI2LOGICAL
90 is zero. */
91#define ST_SCSI2LOGICAL 0
92
93/* If ST_SYSV is non-zero, the tape behaves according to the SYS V semantics.
94 The default is BSD semantics. */
95#define ST_SYSV 0
96
7*/
8
9#ifndef _ST_OPTIONS_H
10#define _ST_OPTIONS_H
11
12/* If TRY_DIRECT_IO is non-zero, the driver tries to transfer data directly
13 between the user buffer and tape drive. If this is not possible, driver
14 buffer is used. If TRY_DIRECT_IO is zero, driver buffer is always used. */

--- 74 unchanged lines hidden (view full) ---

89 MTIOCPOS and MTSEEK by default. Vendor addresses are used if ST_SCSI2LOGICAL
90 is zero. */
91#define ST_SCSI2LOGICAL 0
92
93/* If ST_SYSV is non-zero, the tape behaves according to the SYS V semantics.
94 The default is BSD semantics. */
95#define ST_SYSV 0
96
97/* If ST_SILI is non-zero, the SILI bit is set when reading in variable block
98 mode and the block size is determined using the residual returned by the HBA. */
99#define ST_SILI 0
100
97/* Time to wait for the drive to become ready if blocking open */
98#define ST_BLOCK_SECONDS 120
99
100#endif
101/* Time to wait for the drive to become ready if blocking open */
102#define ST_BLOCK_SECONDS 120
103
104#endif