Contents

UserReportHBAHighestLogicalUnitNumber

Gets the highest logical unit number (LUN) in response to a call from the framework.

Declaration

virtual kern_return_t UserReportHBAHighestLogicalUnitNumber(uint64_t *value);

Parameters

  • value:

    A pointer to a uint64_t value. On return, set this value to the highest LUN the controller can address.

Return Value

A value that indicates the result of determining the highest LUN. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.

Discussion

The framework calls this method to query the driver extension class to determine the highest logical unit number that the controller can address.

See Also

Managing Host Bus Adapters