SetHBAProperty
Accessor for setting a property for this object.
Declaration
bool SetHBAProperty (
const char *key,
OSObject *value );Parameters
- key:
A pointer to a valid OSString object which represents the key. A list of valid keys includes: kIOPropertyVendorNameKey, kIOPropertyProductNameKey, kIOPropertyProductRevisionLevelKey, kIOPropertyPortDescriptionKey, kIOPropertyPortSpeedKey, kIOPropertyPortTopologyKey, kIOPropertySCSIParallelSignalingTypeKey, kIOPropertyFibreChannelCableDescriptionKey, kIOPropertyFibreChannelNodeWorldWideNameKey, kIOPropertyFibreChannelPortWorldWideNameKey, kIOPropertyFibreChannelAddressIdentifierKey, kIOPropertyFibreChannelALPAKey, and kIOPropertySASAddressKey. NB: These keys and their values are described in <IOKit/storage/IOStorageDeviceCharacteristics.h> and <IOKit/storage/IOStorageProtocolCharacteristics.h>
- value:
Pointer to an OSObject (one of type OSData, OSString, etc.) which represents the value for the property. The value must be of the proper type, and/or size for the specified key.
Return Value
returns true if identifier was properly set, otherwise false.
See Also
Miscellaneous
CompleteParallelTaskCreateDeviceInterruptCreateTargetForID(SCSIDeviceIdentifier)CreateTargetForID(SCSIDeviceIdentifier, OSDictionary *)DestroyTargetForIDDisableInterruptDoesHBAPerformAutoSenseDoesHBAPerformDeviceManagementDoesHBASupportMultiPathingDoesHBASupportSCSIParallelFeatureEnableInterruptExecuteParallelTaskFilterInterruptRequestFindTaskForAddressFindTaskForControllerIdentifierFreeSCSIParallelTaskGetAutoSenseDataGetAutoSenseDataSizeGetCommandDescriptorBlockGetCommandDescriptorBlockSizeGetCommandGateGetDataBufferGetDataBufferOffsetGetDataTransferDirectionGetDMACommandGetHBADataDescriptorGetHBADataPointerGetHBADataSizeGetHBATargetDataPointerGetHBATargetDataSizeGetLogicalUnitBytesGetLogicalUnitNumberGetProviderGetRealizedDataTransferCountGetRequestedDataTransferCountGetSCSIDomainIdentifierGetSCSIParallelFeatureNegotiationGetSCSIParallelFeatureNegotiationCountGetSCSIParallelFeatureNegotiationResultGetSCSIParallelFeatureNegotiationResultCountGetSCSIParallelTaskGetSCSITaskIdentifierGetTaggedTaskIdentifierGetTargetForIDGetTargetIdentifierGetTaskAttributeGetTimeoutDurationGetWorkLoopHandleInterruptRequestHandleTimeoutIncrementRealizedDataTransferCountInitializeControllerInitializeDMASpecificationInitializeTargetForIDNotifyClientsOfBusResetNotifyClientsOfPortStatusChangeProcessParallelTaskRemoveHBAPropertyRemoveTargetPropertyReportHBAConstraintsReportHBAHighestLogicalUnitNumberReportHBASpecificDeviceDataSizeReportHBASpecificTaskDataSizeReportHighestSupportedDeviceIDReportInitiatorIdentifierReportMaximumTaskCountResumeServicesSetAutoSenseDataSetControllerTaskIdentifierSetRealizedDataTransferCountSetSCSIParallelFeatureNegotiationResultSetTargetPropertySetTimeoutForTaskSignalInterruptStartControllerStopControllerSuspendServicesTerminateController