other versions
ATA_GET_IDENTITY(9) | libata SCSI translation/emulat | ATA_GET_IDENTITY(9) |
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¶
struct ata_port * ap
target port
struct scsi_device * sdev
SCSI device to get identify data for
void __user * 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¶
September 2017 | Kernel Hackers Manual 4.12 |