Mac Developer Library

Developer

IOATAPIProtocolTransport.h Reference

Options
Deployment Target:

On This Page

IOATAPIProtocolTransport.h Reference

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.

  • Declaration

    typedef struct ATAPIClientData ATAPIClientData;

    Discussion

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

    Import Statement

  • Declaration

    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.