ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
ATADeviceNub |
Inherits from: | |
Declared In: |
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.
Creates command objects for clients.
Creates nubs.
Overrides the IOService method.
Submits IO requests.
Disposes of command objects.
Gets the unit ID of this drive (0 or 1).
Initializes the nub.
To be deprecated.
To be deprecated.
Puts info about this device's bus capability in the device tree.
Publishes the nub's properties in the device tree.
Will be deprecated.
To be deprecated.
allocCommand |
Creates command objects for clients.
public
virtual IOATACommand* allocCommand( void );
ataDeviceNub |
Creates nubs.
public
static ATADeviceNub* ataDeviceNub( IOATAController *provider, ataUnitID unit, ataDeviceType devType);
ataDeviceNub is a static creator function that is used by IOATAControllers to create nubs.
attach |
Overrides the IOService method.
public
virtual bool attach( IOService *provider );
executeCommand |
Submits IO requests.
public
virtual IOReturn executeCommand( IOATACommand *command);
freeCommand |
Disposes of command objects.
public
virtual void freeCommand( IOATACommand *inCommand);
Clients use this method to dispose of command objects.
getDeviceID |
Gets the unit ID of this drive (0 or 1).
protected
virtual IOReturn getDeviceID( void);
init |
Initializes the nub.
protected
virtual bool init( IOATAController *provider, ataUnitID unit, ataDeviceType devType);
This function is used after creating the nub.
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 |
Publishes 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: 2008-12-19