IOATAPIProtocolTransport.h Reference

Declared in
IOATAPIProtocolTransport.h

Overview

Contains the class definition for IOATAPIProtocolTransport.

Included Headers

  • <IOKit/IOLib.h>

  • <IOKit/IOMessage.h>

  • <IOKit/IOService.h>

  • <IOKit/IOCommandPool.h>

  • <IOKit/ata/IOATADevice.h>

  • <IOKit/ata/IOATATypes.h>

  • <IOKit/storage/ata/IOATAStorageDefines.h>

  • <IOKit/scsi/IOSCSIProtocolServices.h>

Data Types

See the Overview section above for header-level documentation.

ATAPIClientData

typedef struct ATAPIClientData ATAPIClientData;
Discussion

This structure is stuffed into the refcon so we can associate which IOATACommand and SCSITaskIdentifier is completing.

Availability
  • Available in OS X v10.0 and later.
Declared In
IOATAPIProtocolTransport.h

ATAPIClientData

struct ATAPIClientData {
   IOATACommand *cmd;
   IOATAPIProtocolTransport *self;
   SCSITaskIdentifier scsiTask;
};
Fields
cmd

IOATACommand for request.

self

Pointer to the object.

scsiTask

SCSITaskIdentifier of request.

Discussion

This structure is stuffed into the refcon so we can associate which IOATACommand and SCSITaskIdentifier is completing.