Name

ata_dev_set_feature — Issue SET FEATURES - SATA FEATURES

Synopsis

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

Arguments

struct ata_device * dev

Device to which command will be sent

u8 enable

Whether to enable or disable the feature

u8 feature

The sector count represents the feature to set

Description

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.