1ATA_DEV_SET_FEATURE(9) libata Library ATA_DEV_SET_FEATURE(9)
2
3
4
6 ata_dev_set_feature - Issue SET FEATURES - SATA FEATURES
7
9 unsigned int ata_dev_set_feature(struct ata_device * dev, u8 enable,
10 u8 feature);
11
13 dev
14 Device to which command will be sent
15
16 enable
17 Whether to enable or disable the feature
18
19 feature
20 The sector count represents the feature to set
21
23 Issue SET FEATURES - SATA FEATURES command to device dev on port ap
24 with sector count
25
27 PCI/etc. bus probe sem.
28
30 0 on success, AC_ERR_* mask otherwise.
31
33 Jeff Garzik
34 Author.
35
37Kernel Hackers Manual 3.10 June 2019 ATA_DEV_SET_FEATURE(9)