Writing Device Drivers

SCSA HBA Entry Point Summary

SCSA defines a number of HBA driver entry points. These entry points are listed in the following table. The entry points are called by the system when a target driver instance connected to the HBA driver is configured. The entry points are also called when the target driver makes a SCSA request. See Entry Points for SCSA HBA Drivers for more information.

Table 18–1 SCSA HBA Entry Point Summary

Function Name 

Called as a Result of 

tran_abort(9E)

Target driver calling scsi_abort(9F)

tran_bus_reset(9E)

System resetting bus 

tran_destroy_pkt(9E)

Target driver calling scsi_destroy_pkt(9F)

tran_dmafree(9E)

Target driver calling scsi_dmafree(9F)

tran_getcap(9E)

Target driver calling scsi_ifgetcap(9F)

tran_init_pkt(9E)

Target driver calling scsi_init_pkt(9F)

tran_quiesce(9E)

System quiescing bus 

tran_reset(9E)

Target driver calling scsi_reset(9F)

tran_reset_notify(9E)

Target driver calling scsi_reset_notify(9F)

tran_setcap(9E)

Target driver calling scsi_ifsetcap(9F)

tran_start(9E)

Target driver calling scsi_transport(9F)

tran_sync_pkt(9E)

Target driver calling scsi_sync_pkt(9F)

tran_tgt_free(9E)

System detaching target device instance 

tran_tgt_init(9E)

System attaching target device instance 

tran_tgt_probe(9E)

Target driver calling scsi_probe(9F)

tran_unquiesce(9E)

System resuming activity on bus