'\" t
.\"     Title: ata_get_identity
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: June 2017
.\"    Manual: libata SCSI translation/emulation
.\"    Source: Kernel Hackers Manual 4.9.30
.\"  Language: English
.\"
.TH "ATA_GET_IDENTITY" "9" "June 2017" "Kernel Hackers Manual 4\&.9\&." "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_get_identity \- Handler for HDIO_GET_IDENTITY ioctl
.SH "SYNOPSIS"
.HP \w'int\ ata_get_identity('u
.BI "int ata_get_identity(struct\ ata_port\ *\ " "ap" ", struct\ scsi_device\ *\ " "sdev" ", void\ __user\ *\ " "arg" ");"
.SH "ARGUMENTS"
.PP
\fIap\fR
.RS 4
target port
.RE
.PP
\fIsdev\fR
.RS 4
SCSI device to get identify data for
.RE
.PP
\fIarg\fR
.RS 4
User buffer area for identify data
.RE
.SH "DESCRIPTION"
.PP
LOCKING: Defined by the SCSI layer\&. We don\*(Aqt really care\&.
.SH "RETURN"
.PP
Zero on success, negative errno on error\&.
.SH "AUTHOR"
.PP
\fBJeff Garzik\fR
.RS 4
Author.
.RE
.SH "COPYRIGHT"
.br
