Instance Property

SMARTEnableDisableOperations

toggle SMART Operations.

Declaration

IOReturn (*SMARTEnableDisableOperations)(void *interface, Boolean enable);

Parameters

enable

Passing true will ENABLE SMART operations, false will DISABLE SMART operations.

Return Value

Returns kIOReturnSuccess if successful, kIOReturnNoDevice if there is no connection to an IOService, kIOReturnExclusiveAccess if it is already opened by another client.

Discussion

See section 8.54.1 and 8.54.3 of ATA/ATAPI-6.