ata_dev_set_feature(9)

ata_dev_set_feature9

Issue set features - sata features

Usage

unsigned int ata_dev_set_feature(struct ata_device * dev, u8 enable, u8 feature);

Arguments

dev

Device to which command will be sent

enable

Whether to enable or disable the feature

feature

The sector count represents the feature to set

Overview

Issue SET FEATURES - SATA FEATURES command to device dev on port ap with sector count

LOCKING: PCI/etc. bus probe sem.

Return

0 on success, AC_ERR_* mask otherwise.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.