command()

The 95 function processes a SCSI command and returns when the command is finished. When the original SCSI code was written, interrupt-driven drivers were not supported. The old drivers are much less efficient (in terms of response time and latency) than the current interrupt-driven drivers, but are also much easier to write. For new drivers, this command can be replaced with a call to the 96 function, as demonstrated in Figure~#figcommand#1367>.

#figure1370#
Figure: Example <#1372#> command()<#1372#> Function

The return value is the same as the 97 variable in the 98 structure. Please see sections~#secdone#1376> and #secscsicmnd#1377> for more details.