'\" t .\" Title: ata_dev_set_feature .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: libata Library .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ATA_DEV_SET_FEATURE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "libata Library" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ata_dev_set_feature \- Issue SET FEATURES \- SATA FEATURES .SH "SYNOPSIS" .HP \w'unsigned\ int\ ata_dev_set_feature('u .BI "unsigned int ata_dev_set_feature(struct\ ata_device\ *\ " "dev" ", u8\ " "enable" ", u8\ " "feature" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 Device to which command will be sent .RE .PP \fIenable\fR .RS 4 Whether to enable or disable the feature .RE .PP \fIfeature\fR .RS 4 The sector count represents the feature to set .RE .SH "DESCRIPTION" .PP Issue SET FEATURES \- SATA FEATURES command to device \fIdev\fR on port \fIap\fR with sector count .PP LOCKING: PCI/etc\&. bus probe sem\&. .SH "RETURN" .PP 0 on success, AC_ERR_* mask otherwise\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br