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.