* 16 Feb 93 Julian Elischer ADDED for SCSI system
/* This is a "convertet" mtio.h from 386BSD
Stefan Grefen grefen@goofy.zdv.uni-mainz.de
* Structures and definitions for changer io control commands
#define CH_INVERT 0x10000
#define CH_ADDR_MASK 0xffff
short ch_op
; /* operations defined below */
short result
; /* The result */
int chm
; /* Transport element */
int chm
; /* Transport element */
short chmo
; /* Offset of first CHM */
short chms
; /* No. of CHM */
short slots
; /* No. of Storage Elements */
short sloto
; /* Offset of first SE */
short imexs
; /* No. of Import/Export Slots */
short imexo
; /* Offset of first IM/EX */
short drives
; /* No. of CTS */
short driveo
; /* Offset of first CTS */
short rot
; /* CHM can rotate */
u_char add_sense_code_qualifier
;
#define CH_CHOLDER 0x0290 /* Cartridge holder is missing */
#define CH_STATUSQ 0x0390 /* Status is questionable */
#define CH_CTS_CLOSED 0x0490 /* CTS door is closed */
/* Changer IO control command */
#define CHIOOP _IOWR('c', 1, struct chop) /* do a mag tape op */