Mac Developer Library

Developer

IOFWAsyncCommand Class Reference

Options
Deployment Target:

On This Page
Language:

IOFWAsyncCommand

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable

Objective-C

@import Kernel;

Availability


Available in OS X v10.0 and later.

Send an async request to a device

  • Declaration

    C++

    IOReturn setMaxPacket( UInt32maxBytes)

    Parameters

    maxBytes

    Maximum packet size in bytes. If the maxsize is 4 then quadlet transfers will be used.

    Discussion

    Sets the maximum size for block transfers used by the command. The command is initialized to use the maximum packet size calculated from the device's PHY speed, bus info block and the bus topology. Call this method before calling submit().