/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:38:04 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:16 _$11$DUA933:[BUILD.SDL]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $MT2DEF ***/ #ifndef __MT2DEF_LOADED #define __MT2DEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /*+ */ /* EXTENDED MAGTAPE CHARACTERISTICS BITS */ /*- */ #define MT2$M_SUP_DENS 0xFFFF #define MT2$M_WBC_ENABLE 0x10000 #define MT2$M_RDC_DISABLE 0x20000 #define MT2$M_CACHED_DATA 0x40000 #define MT2$M_CD_LOST 0x80000 #define MT2$M_TAPE_MARK 0x100000 #define MT2$M_COMP_SUP 0x200000 #define MT2$M_COMP_ENA 0x400000 #define MT2$M_MT3_SUPPORTED 0x800000 #define MT2$M_ALLOWFAST_SUP 0x1000000 #define MT2$M_ALLOWFAST_ALWAYS 0x2000000 #define MT2$M_ALLOWFAST_PER_IO 0x4000000 #define MT2$M_ALLOWFAST_NEVER 0x8000000 union mt2def { __struct { unsigned mt2$v_sup_dens : 16; /* SUPPORTED DENSITIES */ unsigned mt2$v_wbc_enable : 1; /* WRITE-BACK CACHING IS ENABLED */ unsigned mt2$v_rdc_disable : 1; /* READ CACHING IS DISABLED */ unsigned mt2$v_cached_data : 1; /* CLASS DRIVER DETECTED DATA IN CACHE */ unsigned mt2$v_cd_lost : 1; /* CLASS DRIVER DETECTED CACHED DATA LOST */ unsigned mt2$v_tape_mark : 1; /* TAPE MARK HAS BEEN WRITTEN */ unsigned mt2$v_comp_sup : 1; /* COMPACTION supported */ unsigned mt2$v_comp_ena : 1; /* COMPACTION enabled */ unsigned mt2$v_mt3_supported : 1; /* device has extended density support */ unsigned mt2$v_allowfast_sup : 1; /* SCSI Fast Search supported */ unsigned mt2$v_allowfast_always : 1; /* ALWAYS use Fast Search */ unsigned mt2$v_allowfast_per_io : 1; /* PER_IO use of Fast Search */ unsigned mt2$v_allowfast_never : 1; /* NEVER use Fast Search */ unsigned mt2$v_fill_10 : 4; } mt2$r_mt2def_bits; } ; #if !defined(__VAXC) && !defined(VAXC) #define mt2$v_sup_dens mt2$r_mt2def_bits.mt2$v_sup_dens #define mt2$v_wbc_enable mt2$r_mt2def_bits.mt2$v_wbc_enable #define mt2$v_rdc_disable mt2$r_mt2def_bits.mt2$v_rdc_disable #define mt2$v_cached_data mt2$r_mt2def_bits.mt2$v_cached_data #define mt2$v_cd_lost mt2$r_mt2def_bits.mt2$v_cd_lost #define mt2$v_tape_mark mt2$r_mt2def_bits.mt2$v_tape_mark #define mt2$v_comp_sup mt2$r_mt2def_bits.mt2$v_comp_sup #define mt2$v_comp_ena mt2$r_mt2def_bits.mt2$v_comp_ena #define mt2$v_mt3_supported mt2$r_mt2def_bits.mt2$v_mt3_supported #define mt2$v_allowfast_sup mt2$r_mt2def_bits.mt2$v_allowfast_sup #define mt2$v_allowfast_always mt2$r_mt2def_bits.mt2$v_allowfast_always #define mt2$v_allowfast_per_io mt2$r_mt2def_bits.mt2$v_allowfast_per_io #define mt2$v_allowfast_never mt2$r_mt2def_bits.mt2$v_allowfast_never #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __MT2DEF_LOADED */