SysTutorials

Linux Manual Pages › Section 9

sata_std_hardreset(9)

sata_std_hardreset – COMRESET w/o waiting or classification

Synopsis

int sata_std_hardreset(struct ata_link *link, unsigned int *class, unsigned long deadline);

Arguments

link

link to reset

class

resulting class of attached device

deadline

deadline jiffies for the operation

Description

Standard SATA COMRESET w/o waiting or classification.

LOCKING: Kernel thread context (may sleep)

Return

0 if link offline, -EAGAIN if link online, -errno on errors.

Author

Jeff Garzik

Author.

Copyright