Contents

UserDoesHBAPerformAutoSense

Determines if the driver extension class automatically performs autosense and provides autosense data for each I/O in response to a call from the framework.

Declaration

virtual kern_return_t UserDoesHBAPerformAutoSense(bool *result);

Parameters

  • result:

    A pointer to a Boolean value. On return, set this to true if the HBA performs autosense.

Return Value

A value that indicates the result of determining if the driver extension class performs autosense. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.

Discussion

If the HBA allocates space for autosense in its HBA-specific data region on a per-task basis, the HBA should respond true.

See Also

Managing Host Bus Adapters