ata_do_simple_cmd

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

ata_do_simple_cmd - execute simple internal command

SYNOPSIS

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

DESCRIPTION

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

AUTHOR

Jeff Garzik

Author.