Name

ata_scsiop_read_cap — Simulate READ CAPACITY[ 16] commands

Synopsis

unsigned int ata_scsiop_read_cap (struct ata_scsi_args *  args,
 u8 *  rbuf,
 unsigned int  buflen);

Arguments

args

device IDENTIFY data / SCSI command of interest.

rbuf

Response buffer, to which simulated SCSI cmd output is sent.

buflen

Response buffer length.

Description

Simulate READ CAPACITY commands.

LOCKING

spin_lock_irqsave(host_set lock)