Skip to content

Commit

Permalink
Backport Linux Kernel WEOFI ioctls
Browse files Browse the repository at this point in the history
  • Loading branch information
dabiged authored and iustin committed Nov 4, 2023
1 parent eadc992 commit 72f9eda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mtio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 72f9eda

Please sign in to comment.