Writing Device Drivers for Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

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
Required
Aborts a specified SCSI command that has been transported to a SCSI Host Bus Adapter (HBA) driver. Additional information: tran_abort() Entry Point
Optional
Resets a SCSI bus. Additional information: tran_bus_reset() Entry Point
Required
Frees resources that are allocated for a SCSI packet. Additional information: tran_destroy_pkt() Entry Point
Required
Frees DMA resources that have been allocated for a SCSI packet. Additional information: tran_dmafree() Entry Point
Required
Gets the current value of a specific capability that is provided by the HBA driver. Additional information: tran_getcap() Entry Point
Required
Allocate and initialize resources for a SCSI packet. Additional information: Resource Allocation
Optional
Stop all activity on a SCSI bus, typically for dynamic reconfiguration. Additional information: Dynamic Reconfiguration
Required
Resets a SCSI bus or target device. Additional information: tran_reset() Entry Point
Optional
Requests notification of a SCSI target device for a bus reset. Additional information: tran_reset_notify() Entry Point
Required
Sets the value of a specific capability that is provided by the SCSI HBA driver. Additional information: tran_setcap() Entry Point
Required
Requests the transport of a SCSI command. Additional information: tran_start() Entry Point
Required
Synchronizes the view of data by an HBA driver or device. Additional information: tran_sync_pkt() Entry Point
Optional
Requests allocated SCSI HBA resources to be freed on behalf of a target device. Additional information:
Optional
Requests SCSI HBA resources to be initialized on behalf of a target device. Additional information:
Optional
Probes a specified target on a SCSI bus. Additional information: tran_tgt_probe() Entry Point
Optional
Resumes I/O activity on a SCSI bus after tran_quiesce(9E) has been called, typically for dynamic reconfiguration. Additional information: Dynamic Reconfiguration