other versions
ATA_CMD_IOCTL(9) | libata SCSI translation/emulat | ATA_CMD_IOCTL(9) |
NAME¶
ata_cmd_ioctl - Handler for HDIO_DRIVE_CMD ioctl
SYNOPSIS¶
int ata_cmd_ioctl(struct scsi_device * scsidev, void __user * arg);
ARGUMENTS¶
struct scsi_device * scsidev
Device to which we are issuing command
void __user * arg
User provided data for issuing command
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 |