ATA_CMD_IOCTL

Section: libata SCSI translation/emulat (9)
Updated: February 2011
Index Return to Main Contents
 

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