1. NAME

ata_do_simple_cmd - execute simple internal command

2. SYNOPSIS

unsigned int ata_do_simple_cmd(struct ata_device *  dev , u8  cmd );

3. ARGUMENTS

dev
    Device to which the command is sent

cmd
    Opcode to execute

4. DESCRIPTION

Execute a AqsimpleAq command, that only consists of the opcode AqcmdAq itself, without filling any other registers

5. LOCKING

Kernel thread context (may sleep).

6. RETURNS

Zero on success, AC_ERR_* mask on failure

7. AUTHOR

Jeff Garzik
    Author.

8. COPYRIGHT