CreateTargetForID(SCSIDeviceIdentifier, OSDictionary *)
Method to perform device creation.
Declaration
bool CreateTargetForID (
SCSIDeviceIdentifiertargetID,
OSDictionary *properties );Parameters
- targetID:
SCSIDeviceIdentifier of desired targetID.
- properties:
A dictionary of properties to associate with the device upon creation. The list of valid property keys is as follows: kIOPropertySASAddressKey, kIOPropertyFibreChannelNodeWorldWideNameKey, kIOPropertyFibreChannelPortWorldWideNameKey, kIOPropertyFibreChannelAddressIdentifierKey, kIOPropertyFibreChannelALPAKey, and kIOPropertyRetryCountKey These keys are defined in <IOKit/storage/IOStorageProtocolCharacteristics.h> and the values associated with these keys must be of the proper type/size, or the target creation will not succeed.
Return Value
returns true if successful.
Overview
For HBA child classes that report true to the DoesHBAPerformDeviceManagement() method, the child class will be responsible for all device management by using these methods; otherwise, the superclass will be responsible for all device management. This method must be used to perform SCSI Parallel Device creation and cannot be overridden.
See Also
Miscellaneous
CompleteParallelTaskCreateDeviceInterruptCreateTargetForID(SCSIDeviceIdentifier)DestroyTargetForIDDisableInterruptDoesHBAPerformAutoSenseDoesHBAPerformDeviceManagementDoesHBASupportMultiPathingDoesHBASupportSCSIParallelFeatureEnableInterruptExecuteParallelTaskFilterInterruptRequestFindTaskForAddressFindTaskForControllerIdentifierFreeSCSIParallelTaskGetAutoSenseDataGetAutoSenseDataSizeGetCommandDescriptorBlockGetCommandDescriptorBlockSizeGetCommandGateGetDataBufferGetDataBufferOffsetGetDataTransferDirectionGetDMACommandGetHBADataDescriptorGetHBADataPointerGetHBADataSizeGetHBATargetDataPointerGetHBATargetDataSizeGetLogicalUnitBytesGetLogicalUnitNumberGetProviderGetRealizedDataTransferCountGetRequestedDataTransferCountGetSCSIDomainIdentifierGetSCSIParallelFeatureNegotiationGetSCSIParallelFeatureNegotiationCountGetSCSIParallelFeatureNegotiationResultGetSCSIParallelFeatureNegotiationResultCountGetSCSIParallelTaskGetSCSITaskIdentifierGetTaggedTaskIdentifierGetTargetForIDGetTargetIdentifierGetTaskAttributeGetTimeoutDurationGetWorkLoopHandleInterruptRequestHandleTimeoutIncrementRealizedDataTransferCountInitializeControllerInitializeDMASpecificationInitializeTargetForIDNotifyClientsOfBusResetNotifyClientsOfPortStatusChangeProcessParallelTaskRemoveHBAPropertyRemoveTargetPropertyReportHBAConstraintsReportHBAHighestLogicalUnitNumberReportHBASpecificDeviceDataSizeReportHBASpecificTaskDataSizeReportHighestSupportedDeviceIDReportInitiatorIdentifierReportMaximumTaskCountResumeServicesSetAutoSenseDataSetControllerTaskIdentifierSetHBAPropertySetRealizedDataTransferCountSetSCSIParallelFeatureNegotiationResultSetTargetPropertySetTimeoutForTaskSignalInterruptStartControllerStopControllerSuspendServicesTerminateController