'\" t .\" Title: ata_scsiop_read_cap .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: libata SCSI translation/emulation .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "ATA_SCSIOP_READ_CAP" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "libata SCSI translation/emulat" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ata_scsiop_read_cap \- Simulate READ CAPACITY[ 16] commands .SH "SYNOPSIS" .HP \w'unsigned\ int\ ata_scsiop_read_cap('u .BI "unsigned int ata_scsiop_read_cap(struct\ ata_scsi_args\ *\ " "args" ", u8\ *\ " "rbuf" ");" .SH "ARGUMENTS" .PP \fIstruct ata_scsi_args * args\fR .RS 4 device IDENTIFY data / SCSI command of interest\&. .RE .PP \fIu8 * rbuf\fR .RS 4 Response buffer, to which simulated SCSI cmd output is sent\&. .RE .SH "DESCRIPTION" .PP Simulate READ CAPACITY commands\&. .PP LOCKING: None\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br