ATA_DEV_SET_FEATURE(9) libata Library ATA_DEV_SET_FEATURE(9)NAMEata_dev_set_feature - Issue SET FEATURES - SATA FEATURES
unsigned int ata_dev_set_feature(struct ata_device * dev, u8 enable,
Device to which command will be sent
Whether to enable or disable the feature
The sector count represents the feature to set
Issue SET FEATURES - SATA FEATURES command to device dev on port ap
with sector count
PCI/etc. bus probe sem.
0 on success, AC_ERR_* mask otherwise.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 ATA_DEV_SET_FEATURE(9)