ata_do_simple_cmd(9)

ata_do_simple_cmd9

Execute simple internal command

Usage

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

Arguments

dev

Device to which the command is sent

cmd

Opcode to execute

Overview

Execute a 'simple' command, that only consists of the opcode 'cmd' itself, without filling any other registers

Locking

Kernel thread context (may sleep).

Returns

Zero on success, AC_ERR_* mask on failure

Releases

5 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8

Author

Jeff Garzik

Author.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.