Name

spi_populate_tag_msg — place a tag message in a buffer

Synopsis

int spi_populate_tag_msg (unsigned char * msg,
 struct scsi_cmnd * cmd);
 

Arguments

msg

pointer to the area to place the tag

cmd

pointer to the scsi command for the tag

Notes

designed to create the correct type of tag message for the particular request. Returns the size of the tag message. May return 0 if TCQ is disabled for this device.