suse man page for sata_link_hardreset

Query: sata_link_hardreset

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SATA_LINK_HARDRESET(9)						  libata Library					    SATA_LINK_HARDRESET(9)

NAME
sata_link_hardreset - reset link via SATA phy reset
SYNOPSIS
int sata_link_hardreset(struct ata_link * link, const unsigned long * timing, unsigned long deadline, bool * online, int (*check_ready) (struct ata_link *));
ARGUMENTS
link link to reset timing timing parameters { interval, duratinon, timeout } in msec deadline deadline jiffies for the operation online optional out parameter indicating link onlineness check_ready optional callback to check link readiness
DESCRIPTION
SATA phy-reset link using DET bits of SControl register. After hardreset, link readiness is waited upon using ata_wait_ready if check_ready is specified. LLDs are allowed to not specify check_ready and wait itself after this function returns. Device classification is LLD's responsibility. *online is set to one iff reset succeeded and link is online after reset.
LOCKING
Kernel thread context (may sleep)
RETURNS
0 on success, -errno otherwise.
AUTHOR
Jeff Garzik Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SATA_LINK_HARDRESET(9)
Related Man Pages
di_link_spectype(3devinfo) - opensolaris
set_link(1m) - hpux
symlink(3) - php
ingres_errsqlstate(3) - php
link(3) - php
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Getting command output to putty window title.
Grant unprivileged user rights to see the output of echo|format but not modify disks
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB