SCSA defines functions to manage the allocation and freeing of resources, the sensing and setting of control states, and the transport of SCSI commands. These functions are listed in Table 14–1.
Table 14–1 Standard SCSA Functions
Function Name |
Category |
---|---|
Resource management |
|
|
|
scsi_dmafree(9F) |
|
|
|
scsi_alloc_consistent_buf(9F) |
|
scsi_free_consistent_buf(9F) |
|
Command transport |
|
Transport information and control |
|
scsi_ifsetcap(9F) |
|
scsi_abort(9F) |
Error handling |
scsi_reset(9F) |
|
scsi_poll(9F) |
Polled I/O |
scsi_probe(9F) |
Probe functions |
scsi_unprobe(9F) |
|
scsi_setup_cdb(9F) |
CDB initialization function |
If your driver needs to work with a SCSI-1 device, use the makecom(9F) function.