---
name: "ata_get_identity"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_get_identity"
---

# ata\_get\_identity(9)

Handler for HDIO\_GET\_IDENTITY ioctl

## NAME

ata\_get\_identity - Handler for HDIO\_GET\_IDENTITY ioctl

## SYNOPSIS

**int ata\_get\_identity(struct ata\_port \*** *ap***, struct scsi\_device \*** *sdev***, void \_\_user \*** *arg***);**

## ARGUMENTS

*ap*

target port

*sdev*

SCSI device to get identify data for

*arg*

User buffer area for identify data

## DESCRIPTION

LOCKING: Defined by the SCSI layer. We don't really care.

## RETURN

Zero on success, negative errno on error.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
