mirror of
https://github.com/iustin/mt-st.git
synced 2025-12-23 13:45:14 +00:00
Backport Linux Kernel WEOFI ioctls
This commit is contained in:
committed by
Iustin Pop
parent
eadc992f2a
commit
72f9eda87d
2
mtio.h
2
mtio.h
@@ -64,6 +64,7 @@ struct mtop {
|
||||
#define MTCOMPRESSION 32/* control compression with SCSI mode page 15 */
|
||||
#define MTSETPART 33 /* Change the active tape partition */
|
||||
#define MTMKPART 34 /* Format the tape with one or two partitions */
|
||||
#define MTWEOFI 35 /* write an end-of-file record (mark) in immediate mode */
|
||||
|
||||
/* structure for MTIOCGET - mag tape get status command */
|
||||
|
||||
@@ -202,6 +203,7 @@ struct mtpos {
|
||||
#define MT_ST_SYSV 0x1000
|
||||
#define MT_ST_NOWAIT 0x2000
|
||||
#define MT_ST_SILI 0x4000
|
||||
#define MT_ST_NOWAIT_EOF 0x8000
|
||||
|
||||
/* The mode parameters to be controlled. Parameter chosen with bits 20-28 */
|
||||
#define MT_ST_CLEAR_DEFAULT 0xfffff
|
||||
|
||||
Reference in New Issue
Block a user