ata_std_prereset(9) centos man page | unix.com

Man Page: ata_std_prereset

Operating Environment: centos

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 3.10 June 2014 ATA_STD_PRERESET(9)
Related Man Pages
usb_queue_reset_device(9) - centos
xkbsetautoresetcontrols(3) - debian
glob_match(9) - centos
xkbsetautoresetcontrols(3) - x11r4
ata_scsi_translate(9) - suse
Similar Topics in the Unix Linux Community
How to increment version inside a file?
Tar Command
CentOS7 restoring file capabilities
Shopt -s histappend
Please Welcome Dave Munro to the Moderator Team!