User Guide
Ampex 1308911-02 5-27
libdd2 API Functions dst_getdrive_ex
typedef struct
{
u_int valid; /* Valid members - see defines above */
u_int config; /* Drive configuration attributes */
u_char rdretryct; /* Read retry count (0-80) */
u_char wrretryct; /* Write retry count (0-127) */
u_char wrbuffull; /* Write buffer full ratio/256 (25-200) */
u_char rdbuffull; /* Read buffer full ratio/256 (25-200) */
int wrdelay; /* Write delay 100 millisecs (1-65535) */
u_char sctimeout; /* Scanner timeout in minutes (0-30) */
u_char thtimeout; /* Thread timeout in seconds (6-30) */
int ewoffset; /* EW offset before EMW, in PBs (0-) */
int cleantime; /* Cleaning time in seconds (1-) */
dst_ddver_st ddver; /* DST Driver version info (read only) */
dst_tdver_st tdver; /* Tape drive version info (read only) */
u_int capability; /* Drive capabilities (read only) */
int bufsize; /* Drive buffer size in bytes (read only) */
u_int capability_ex; /* Drive capabilities extended (read only) */
dst_density_en density; /* Drive density (read only) */
dst_speed_en speed; /* Drive maximum data rate (read only) */
u_int reserved0; /* Reserved */
u_int reserved1; /* Reserved */
} dst_drive_ex_st;
STRUCTURE MEMBERS
valid Bit mask that specifies which members to get information for on input,
and which members contain valid information on return. The following
definitions apply (see the
dstio.h file for details):
DST_CFG_VALID
DST_RDRTY_VALID
DST_WRRTY_VALID
DST_WRBUF_VALID
DST_RDBUF_VALID
DST_WRDLY_VALID
DST_SCTO_VALID
DST_THTO_VALID
DST_EWOFF_VALID
DST_DDVER_VALID
DST_TDVER_VALID
DST_CAP_VALID
DST_CLTM_VALID
DST_BUFSZ_VALID
config
Bit mask of the drive configuration. The following definitions apply (see
the
dstio.h file for details):
DST_POST_ERR - post internal retry errors
DST_SYNC_EW - synchronize buffer at EW