Driver Entry Points sata_tran_abort(9E) NAME sata_tran_abort - abort SATA operation initiated by sata_tran_start() SYNOPSIS #include int sata_tran_abort(dev_info_t *dev_info, sata_pkt_t *sata_packet, int abort_type); INTERFACE LEVEL Consolidation Private PARAMETERS dev_info Pointer to a dev_info_t structure, referring to the HBA device instance. sata_packet Pointer to sata_packet structure identifying the packet to be aborted abort_type flag specifying type of the abort: SATA_ABORT_PACKET Abort operation of the specified packet SATA_ABORT_ALL_PACKETS Abort all queued packets DESCRIPTION sata_tran_abort() function is called by SATA HBA framework to abort the operation(s) initiated through previous sata_tran_start(). The abort_type argument specifies the type of the abort operation. This function may be called from the interrupt context. RETURN VALUE SATA_SUCCESS Specified packet(s) operation was aborted. Packet completion status should reflect the fact that the packet was aborted. SATA_FAILURE One (or more) packet operations were not aborted. Each packet completion status should reflect the packet operation state. SEE ALSO sata_hba_tran(9S), sata_hba_init(9F), sata_hba_fini(9F), sata_hba_attach(9F), sata_hba_detach(9F), sata_hba_event_notify(9F), sata_tran_probe_port(9F), sata_tran_start(9F), sata_tran_reset_dport(9f), sata_tran_self_test(9F), sata_tran_hotplug_ops(9S), sata_tran_pwrmgt_ops(9S), sata_tran_ioctl(9F), sata_address(9S), sata_device(9S), sata_pkt(9S)