Name

ata_chk_err — Read device error reg

Synopsis

u8 ata_chk_err (struct ata_port * ap);

Arguments

ap

port where the device is

Description

Reads ATA taskfile error register for currently-selected device and return its value.

Note

may NOT be used as the check_err entry in ata_port_operations.

LOCKING

Inherited from caller.