ata_cmd_ioctl (9) - Linux Man Pages

ata_cmd_ioctl: Handler for HDIO_DRIVE_CMD ioctl

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

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