Name

sata_std_hardreset — reset host port via SATA phy reset

Synopsis

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

Arguments

ap

port to reset

verbose

fail verbosely

class

resulting class of attached device

Description

SATA phy-reset host port using DET bits of SControl register. This function is to be used as standard callback for ata_drive_*_reset.

LOCKING

Kernel thread context (may sleep)

RETURNS

0 on success, -errno otherwise.