Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

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.