Writing Device Drivers

Entry Points for SCSI HBA Drivers

The following table lists additional entry points that can be used by SCSI HBA device drivers. For information on the SCSI HBA transport structure, see scsi_hba_tran(9S). For other entry points, see Entry Points Common to All Drivers and Entry Points for Character Device Drivers.

Table 1–6 Additional Entry Points for SCSI HBA Drivers

Entry Point 

Usage 

Description 

tran_abort(9E)

Required 

Aborts a specified SCSI command that has been transported to a SCSI Host Bus Adapter (HBA) driver. Additional information: tran_abort() Entry Point

tran_bus_reset(9E)

Optional 

Resets a SCSI bus. Additional information: tran_bus_reset() Entry Point

tran_destroy_pkt(9E)

Required 

Frees resources that are allocated for a SCSI packet. Additional information: tran_destroy_pkt() Entry Point

tran_dmafree(9E)

Required 

Frees DMA resources that have been allocated for a SCSI packet. Additional information: tran_dmafree() Entry Point

tran_getcap(9E)

Required 

Gets the current value of a specific capability that is provided by the HBA driver. Additional information: tran_getcap() Entry Point

tran_init_pkt(9E)

Required 

Allocate and initialize resources for a SCSI packet. Additional information: Resource Allocation

tran_quiesce(9E)

Optional 

Stop all activity on a SCSI bus, typically for dynamic reconfiguration. Additional information: Dynamic Reconfiguration

tran_reset(9E)

Required 

Resets a SCSI bus or target device. Additional information: tran_reset() Entry Point

tran_reset_notify(9E)

Optional 

Requests notification of a SCSI target device for a bus reset. Additional information: tran_reset_notify() Entry Point

tran_setcap(9E)

Required 

Sets the value of a specific capability that is provided by the SCSI HBA driver. Additional information: tran_setcap() Entry Point

tran_start(9E)

Required 

Requests the transport of a SCSI command. Additional information: tran_start() Entry Point

tran_sync_pkt(9E)

Required 

Synchronizes the view of data by an HBA driver or device. Additional information: tran_sync_pkt() Entry Point

tran_tgt_free(9E)

Optional 

Requests allocated SCSI HBA resources to be freed on behalf of a target device. Additional information: 

tran_tgt_init(9E)

Optional 

Requests SCSI HBA resources to be initialized on behalf of a target device. Additional information: 

tran_tgt_probe(9E)

Optional 

Probes a specified target on a SCSI bus. Additional information: tran_tgt_probe() Entry Point

tran_unquiesce(9E)

Optional 

Resumes I/O activity on a SCSI bus after tran_quiesce(9E) has been called, typically for dynamic reconfiguration. Additional information: Dynamic Reconfiguration