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¶
scsidev
Device to which we are issuing command
arg
User provided data for issuing command
LOCKING¶
Defined by the SCSI layer. We don´t really care.
RETURNS¶
Zero on success, negative errno on error.
AUTHOR¶
Jeff Garzik
Author.
COPYRIGHT¶
May 2024 | Kernel Hackers Manual 2.6. |