Map response buffer.
void * ata_scsi_rbuf_get(struct scsi_cmnd * cmd, bool copy_in, unsigned long * flags);
cmd
SCSI command containing buffer to be mapped.
copy_in
copy in from user buffer
flags
unsigned long variable to store irq enable status
Prepare buffer for simulated SCSI commands.
spin_lock_irqsave(ata_scsi_rbuf_lock) on success
Pointer to response buffer.
Jeff Garzik
Author.