v7 man page for scsi_abort

Query: scsi_abort

OS: v7

Section: 9f

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

scsi_abort(9F)						   Kernel Functions for Drivers 					    scsi_abort(9F)

NAME
scsi_abort - abort a SCSI command
SYNOPSIS
#include <sys/scsi/scsi.h> intscsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
ap Pointer to a scsi_address structure. pkt Pointer to a scsi_pkt(9S) structure.
DESCRIPTION
scsi_abort() terminates a command that has been transported to the host adapter driver. A NULL pkt causes all outstanding packets to be aborted. On a successful abort, the pkt_reason is set to CMD_ABORTED and pkt_statistics is OR'ed with STAT_ABORTED.
RETURN VALUES
scsi_abort() returns: 1 on success. 0 on failure.
CONTEXT
scsi_abort() can be called from user or interrupt context.
EXAMPLES
Example 1: Terminating a command. if (scsi_abort(&devp->sd_address, pkt) == 0) { (void) scsi_reset(&devp->sd_address, RESET_ALL); }
SEE ALSO
tran_abort(9E), scsi_reset(9F), scsi_pkt(9S) Writing Device Drivers SunOS 5.10 30 Aug 1995 scsi_abort(9F)
Related Man Pages
scsi_abort(9f) - minix
scsi_abort(9f) - mojave
scsi_abort(9f) - v7
scsi_abort(9f) - xfree86
scsi_abort(9f) - debian
Similar Topics in the Unix Linux Community
Need to add prefix using sed or awk from cat the file
Sort by values in the 1st row, leaving first four coulumns untouched
Need help to compile and create python64 bit (2.7.9) on Solaris10
Cyber Dystopia Teaser (720 HD)
Linux froze and got back working 5 days later, no reboot.