Linux Kernel
3.7.1
|
sata_std_hardreset - COMRESET w/o waiting or classification link to reset attached device : deadline jiffies for the operation
Standard SATA COMRESET w/o waiting or classification.
LOCKING: Kernel thread context (may sleep)
RETURNS: 0 if link offline, -EAGAIN if link online, -errno on errors.
sata_sff_hardreset - reset host port via SATA phy reset link to reset attached device : deadline jiffies for the operation
SATA phy-reset host port using DET bits of SControl register, wait for !BSY and classify the attached device.
LOCKING: Kernel thread context (may sleep)
RETURNS: 0 on success, -errno otherwise.