SysTutorials

Linux Manual Pages › Section 9

ata_get_identity(9)

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