1. NAME

ata_scsi_rbuf_get - Map response buffer.

2. SYNOPSIS

void * ata_scsi_rbuf_get(struct scsi_cmnd *  cmd , bool  copy_in , unsigned long *  flags );

3. ARGUMENTS

cmd
    SCSI command containing buffer to be mapped.

copy_in
    copy in from user buffer

flags
    unsigned long variable to store irq enable status

4. DESCRIPTION

Prepare buffer for simulated SCSI commands.

5. LOCKING

spin_lock_irqsave(ata_scsi_rbuf_lock) on success

6. RETURNS

Pointer to response buffer.

7. AUTHOR

Jeff Garzik
    Author.

8. COPYRIGHT