NAME | SYNOPSIS | INTERFACE LEVEL | PARAMETERS | DESCRIPTION | RETURN VALUES | CONTEXT | EXAMPLES | SEE ALSO
#include <sys/scsi/scsi.h>intscsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt);
Solaris DDI specific (Solaris DDI).
Pointer to a scsi_address structure.
Pointer to a scsi_pkt(9S) structure.
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.
scsi_abort() can be called from user or interrupt context.
if (scsi_abort(&devp->sd_address, pkt) == 0) { (void) scsi_reset(&devp->sd_address, RESET_ALL); }
NAME | SYNOPSIS | INTERFACE LEVEL | PARAMETERS | DESCRIPTION | RETURN VALUES | CONTEXT | EXAMPLES | SEE ALSO