Name

sata_std_hardreset — reset host port via SATA phy reset

Synopsis

int sata_std_hardreset (struct ata_port * ap,
 unsigned int * class);
 

Arguments

ap

port to reset

class

resulting class of attached device

Description

SATA phy-reset host port using DET bits of SControl register.

LOCKING

Kernel thread context (may sleep)

RETURNS

0 on success, -errno otherwise.