done()

The 84 function is called after the SCSI command completes. The single parameter that this command requires is a pointer to the same 85 structure that was previously passed to the 86 function. Before the 87 function is called, the 88 variable must be set correctly. The 89 variable is a 32~bit integer, each byte of which has specific meaning:

#dispitems1346#

Current low-level drivers do not uniformly (or correctly) implement error reporting, so it may be better to consult <#1365#> scsi.c<#1365#> to determine exactly how errors should be reported, rather than exploring existing drivers.