sata_std_hardreset — reset host port via SATA phy reset
int sata_std_hardreset
(struct ata_port * ap, unsigned int * class, unsigned long deadline);
port to reset
resulting class of 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.
Kernel thread context (may sleep)
0 on success, -errno otherwise.