Reference

ATA_SCSI_RBUF_SET(9)

helper to set values in SCSI response buffer

NAME

ATA_SCSI_RBUF_SET - helper to set values in SCSI response buffer

SYNOPSIS

ATA_SCSI_RBUF_SET(idx, val);

ARGUMENTS

idx

byte index into SCSI response buffer

val

value to set

DESCRIPTION

To be used by SCSI command simulator functions. This macros expects two local variables, u8 *rbuf and unsigned int buflen, are in scope.

LOCKING

None.

AUTHOR

Jeff Garzik

Author.

COPYRIGHT