Execute simple internal command
unsigned int ata_do_simple_cmd(struct ata_device * dev, u8 cmd);
dev
Device to which the command is sent
cmd
Opcode to execute
Execute a 'simple' command, that only consists of the opcode 'cmd' itself, without filling any other registers
Kernel thread context (may sleep).
Zero on success, AC_ERR_* mask on failure
Jeff Garzik
Author.