ATADeviceNub |
Inherits from: | |
Declared In: |
ATADeviceNub is a concrete implementation of IOATADevice.
clients of IOATA (disk drivers) should use the interface presented by IOATADevice. Concrete nubs are private to the IOATA family and specific subclasses of IOATADevice are instantiated by controller drivers to provide the abstract interface to clients.
create command objects for clients.
static creator function - used by IOATAControllers to create nubs.
override of IOService method.
Submit IO requests
Clients use this method to dispose of command objects.
get the unit id of this drive (0 or 1)
used after creating the nub.
to be deprecated.
to be deprecated.
puts info about this device's bus capability in the device tree.
publish the nub's properties in the device tree.
will be deprecated.
to be deprecated.
allocCommand |
create command objects for clients.
public
virtual IOATACommand* allocCommand( void );
ataDeviceNub |
static creator function - used by IOATAControllers to create nubs.
public
static ATADeviceNub* ataDeviceNub( IOATAController *provider, ataUnitID unit, ataDeviceType devType);
attach |
override of IOService method.
public
virtual bool attach( IOService *provider );
executeCommand |
Submit IO requests
public
virtual IOReturn executeCommand( IOATACommand *command);
freeCommand |
Clients use this method to dispose of command objects.
public
virtual void freeCommand( IOATACommand *inCommand);
getDeviceID |
get the unit id of this drive (0 or 1)
protected
virtual IOReturn getDeviceID( void);
init |
used after creating the nub.
protected
virtual bool init( IOATAController *provider, ataUnitID unit, ataDeviceType devType);
MyATACallback |
to be deprecated.
protected
static void MyATACallback( IOATACommand *command );
processCallback |
to be deprecated.
protected
void processCallback( IOATACommand *command );
publishBusProperties |
puts info about this device's bus capability in the device tree.
protected
virtual void publishBusProperties( void);
publishProperties |
publish the nub's properties in the device tree.
protected
virtual void publishProperties( void );
publishVendorProperties |
will be deprecated.
protected
virtual void publishVendorProperties( void );
swapBytes16 |
to be deprecated.
protected
void swapBytes16( UInt8 *dataBuffer, IOByteCount length);
ExpansionData |
protected
struct ExpansionData { };
This structure will be used to expand the capablilties of the ATADeviceNub in the future.
reserved |
protected
ExpansionData *reserved;
Reserved for future use. (Internal use only)
Last Updated: 2010-07-29