1ATA_DEV_SET_FEATURE(9)          libata Library          ATA_DEV_SET_FEATURE(9)
2
3
4

NAME

6       ata_dev_set_feature - Issue SET FEATURES - SATA FEATURES
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

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

LOCKING

27       PCI/etc. bus probe sem.
28

RETURNS

30       0 on success, AC_ERR_* mask otherwise.
31

AUTHOR

33       Jeff Garzik
34           Author.
35
37Kernel Hackers Manual 3.10         June 2019            ATA_DEV_SET_FEATURE(9)
Impressum