ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
IOATABusInfo |
Inherits from: | |
Declared In: |
Used to indicate the capabilities of the bus the device is connected to, PIO and DMA modes supported, etc.
Factory method.
Returns bit-significant map of DMA mode(s) supported on the bus.
Returns the bit-significant map of PIO mode(s) supported on the bus.
Returns the socket type, internal fixed, media-bay, PC-Card.
Returns bit-significant map of Ultra mode(s) supported on the bus.
Returns how many devices are present on bus.
Returns the maximum number of 512-byte blocks this controller supports in a single Extended LBA transfer.
Sets bit-significant map of supported transfer modes.
Sets true if support of DMA Queued Feature.
Sets true for support of 48-bit LBA.
Sets the maximum number of blocks allowed in a single transfer of data.
Sets true for support of overlapped packet feature set.
Sets bit-significant map of supported transfer modes.
Sets socket type.
Sets bit-significant map of supported transfer modes.
Sets how many devices are on this bus.
Returns true if DMA is supported on bus (inferred by looking at the DMA mode bits).
Supports DMA Queued Feature set if true.
Supports 48-bit LBA if true.
Supports overlapped packet feature set if true.
Sets this object to a blank state.
atabusinfo |
Factory method.
public
static IOATABusInfo* atabusinfo( void);
getDMAModes |
Returns bit-significant map of DMA mode(s) supported on the bus.
public
UInt8 getDMAModes( void );
This method is used by clients of ATAControllers to find out about the bus.
getPIOModes |
Returns the bit-significant map of PIO mode(s) supported on the bus.
public
UInt8 getPIOModes( void );
This method is used by clients of ATAControllers to find out about the bus.
getSocketType |
Returns the socket type, internal fixed, media-bay, PC-Card.
public
ataSocketType getSocketType( void );
This method is used by clients of ATAControllers to find out about the bus.
getUltraModes |
Returns bit-significant map of Ultra mode(s) supported on the bus.
public
UInt8 getUltraModes( void );
This method is used by clients of ATAControllers to find out about the bus.
getUnits |
Returns how many devices are present on bus.
public
UInt8 getUnits( void );
This method is used by clients of ATAControllers to find out about the bus.
maxBlocksExtended |
Returns the maximum number of 512-byte blocks this controller supports in a single Extended LBA transfer.
public
UInt16 maxBlocksExtended( void);
Some controllers may be limited to less than the maximum sector count allowed under extended LBA protocol.
setDMAModes |
Sets bit-significant map of supported transfer modes.
public
void setDMAModes( UInt8 inModeBitMap );
Set by ATAControllers.
setDMAQueued |
Sets true if support of DMA Queued Feature.
public
void setDMAQueued( bool inState);
Set by ATAControllers.
setExtendedLBA |
Sets true for support of 48-bit LBA.
public
void setExtendedLBA( bool inState );
Set by ATAControllers.
setMaxBlocksExtended |
Sets the maximum number of blocks allowed in a single transfer of data.
public
void setMaxBlocksExtended( UInt16 inMaxBlocks);
Set by controllers, this indicates the maximum number of blocks allowed in a single transfer of data. Some dma engines may not be capable of supporting the full 16-bit worth of sector count allowed under 48 bit extended LBA. Default is 256 blocks, same as standard ATA.
setOverlapped |
Sets true for support of overlapped packet feature set.
public
void setOverlapped( bool inState);
Set by ATAControllers.
setPIOModes |
Sets bit-significant map of supported transfer modes.
public
void setPIOModes( UInt8 inModeBitMap);
Set by ATAControllers.
setSocketType |
Sets socket type.
public
void setSocketType( ataSocketType inSocketType );
Set by ATAControllers: internal fixed, media-bay, PC-Card.
setUltraModes |
Sets bit-significant map of supported transfer modes.
public
void setUltraModes( UInt8 inModeBitMap );
Set by ATAControllers.
setUnits |
Sets how many devices are on this bus.
public
void setUnits( UInt8 inNumUnits );
Set by ATAControllers.
supportsDMA |
Returns true if DMA is supported on bus (inferred by looking at the DMA mode bits).
public
bool supportsDMA( void );
This method is used by clients of ATAControllers to find out about the bus.
supportsDMAQueued |
Supports DMA Queued Feature set if true.
public
bool supportsDMAQueued( void );
This method is used by clients of ATAControllers to find out about the bus.
supportsExtendedLBA |
Supports 48-bit LBA if true.
public
bool supportsExtendedLBA( void );
This method is used by clients of ATAControllers to find out about the bus.
supportsOverlapped |
Supports overlapped packet feature set if true.
public
bool supportsOverlapped( void );
This method is used by clients of ATAControllers to find out about the bus.
zeroData |
Sets this object to a blank state.
public
virtual void zeroData( void);
ExpansionData |
protected
struct ExpansionData { };
This structure will be used to expand the capablilties of the IOWorkLoop in the future.
reserved |
protected
ExpansionData *reserved;
Reserved for future use. (Internal use only)
|
Last Updated: 2008-12-19