Name

ata_dev_set_AN — Issue SET FEATURES - SATA FEATURES

Synopsis

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

Arguments

dev

Device to which command will be sent

enable

Whether to enable or disable the feature

Description

Issue SET FEATURES - SATA FEATURES command to device dev on port ap with sector count set to indicate Asynchronous Notification feature

LOCKING

PCI/etc. bus probe sem.

RETURNS

0 on success, AC_ERR_* mask otherwise.