User Guide
Ampex 1308911-02 5-53
libdd2 API Functions dst_setparam
DST_DBG_RETRY - Outputs statements associated with SCSI
command retry attempts.
DST_DBG_INTERRUPT - Outputs statements associated with the
handling of tape device driver interrupts.
DST_DBG_PARAMETERS - Each SCSI command descriptor block
(cdb) is displayed before being sent to the tape drive; this allows
invalid settings to be checked.
DST_DBG_RESULTS - Outputs statements associated with the drive
receiving SCSI Request Sense data.
DST_DBG_STATUS - Outputs statements associated with the drive
performing SCSI Mode Select/sense commands, which set or get
tape drive operational settings.
DST_DBG_COMMAND - Outputs statements associated with SCSI
commands which are initiated and processed within the device
driver.
DST_DBG_ABSTRACT - Outputs statements associated with the use of
the DD-2 interface (
dstioctop ioctl).
DST_DBG_LOG_SENSE - Outputs statements associated with Log
Sense statistics gathering.
DST_DBG_TIMING - Outputs the results when various timing
functions are turned on.
DST_DBG_ERROR - Shows error condition.
DST_DBG_ENTRY - Shows entry/exit of functions.
DST_DBG_ARGS - Shows arguments.
DST_DBG_WARNING - Shows warning messages.
attributes This member is not used by dst_setparam() since the tape device driver
interface parameter settings can only be changed by specifying a new
device special file in the open call. To check current settings, use the
dst_getparam() function.
RETURN VALUES
The return value is DST_SUCCESS (0) or DST_FAILURE (-1). See the “DST API Overview”
on page 5-1 for information on
errno failure messages and associated DST result codes.
SEE ALSO
“API Introduction” on page 5-1, dst_get_param(), dd2_setparam_drive