Contents

UserSetHBAProperties

Sets multiple properties for a host bus adapter.

Declaration

virtual kern_return_t UserSetHBAProperties(OSDictionary *properties);

Parameters

  • properties:

    A dictionary containing key-value pairs of properties.

Return Value

A value that indicates the result of setting the properties. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.

Discussion

Your driver extension calls this method to set properties on the HBA. The properties directory can contain the following keys:

The value of each property should be a pointer to a valid OSString object that represents the value for the property. The value must be of the proper type and size for the specified key.

See Also

Managing Host Bus Adapters