other versions
- stretch 4.9.168-1
ATA_DEV_SET_FEATURE(9) | libata Library | ATA_DEV_SET_FEATURE(9) |
NAME¶
ata_dev_set_feature - Issue SET FEATURES - SATA FEATURESSYNOPSIS¶
unsigned int ata_dev_set_feature(struct ata_device * dev, u8 enable, u8 feature);
ARGUMENTS¶
devDevice to which command will be sent
enable
Whether to enable or disable the feature
feature
The sector count represents the feature to set
DESCRIPTION¶
Issue SET FEATURES - SATA FEATURES command to device dev on port ap with sector countLOCKING: PCI/etc. bus probe sem.
RETURN¶
0 on success, AC_ERR_* mask otherwise.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |