ata_std_prereset(9) suse man page | unix.com

Man Page: ata_std_prereset

Operating Environment: suse

Section: 9

ATA_STD_PRERESET(9)						  libata Library					       ATA_STD_PRERESET(9)

NAME
ata_std_prereset - prepare for reset
SYNOPSIS
int ata_std_prereset(struct ata_link * link, unsigned long deadline);
ARGUMENTS
link ATA link to be reset deadline deadline jiffies for the operation
DESCRIPTION
link is about to be reset. Initialize it. Failure from prereset makes libata abort whole reset sequence and give up that port, so prereset should be best-effort. It does its best to prepare for reset sequence but if things go wrong, it should just whine, not fail.
LOCKING
Kernel thread context (may sleep)
RETURNS
0 on success, -errno otherwise.
AUTHOR
Jeff Garzik Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ATA_STD_PRERESET(9)
Related Man Pages
ata_slave_link_init(9) - centos
usb_queue_reset_device(9) - centos
usb_queue_reset_device(9) - suse
mail::spamassassin::timeout(3) - suse
chrt(1) - v7
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
A (ksh) Library For and From UNIX.com
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB