Mac OS X Reference Library Apple Developer
Search

IOATABusInfo

Inherits from:
Declared In:

Overview

used to indicate the capabilities of the bus the device is connected to, PIO and DMA modes supported, etc.



Functions

atabusinfo

factory method

getDMAModes

bit-significant map of DMA mode(s) supported on the bus. 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. Used by clients of ATAControllers to find out about the bus.

getSocketType

returns the socket type, internal fixed, media-bay, PC-Card Used by clients of ATAControllers to find out about the bus

getUltraModes

bit-significant map of Ultra mode(s) supported on the bus. Used by clients of ATAControllers to find out about the bus.

getUnits

How many devices are present on bus. Used by clients of ATAControllers to find out about the bus.

maxBlocksExtended

The maximum number of 512-byte blocks this controller supports in a single Extended LBA transfer. Some controllers may be limited to less than the maximum sector count allowed under extended LBA protocol.

setDMAModes

Bit significant map of supported transfer modes. Set by ATAControllers.

setDMAQueued

Set true if supports DMA Queued Feature. Set by ATAControllers.

setExtendedLBA

Set true for supports 48-bit LBA. Set by ATAControllers.

setMaxBlocksExtended

value set by controllers to indicate 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

Set true for supports overlapped packet feature set. Set by ATAControllers.

setPIOModes

Bit significant map of supported transfer modes. Set by ATAControllers.

setSocketType

internal fixed, media-bay, PC-Card. Set by ATAControllers.

setUltraModes

Bit significant map of supported transfer modes. Set by ATAControllers.

setUnits

set to indicate how many devices are on this bus. Set by ATAControllers.

supportsDMA

True = DMA supported on bus - inferred by looking at the DMA mode bits. Used by clients of ATAControllers to find out about the bus.

supportsDMAQueued

Supports DMA Queued Feature set if true. Used by clients of ATAControllers to find out about the bus.

supportsExtendedLBA

Supports 48-bit LBA if true. Used by clients of ATAControllers to find out about the bus.

supportsOverlapped

Supports overlapped packet feature set if true. Used by clients of ATAControllers to find out about the bus.

zeroData

set this object to a blank state.


atabusinfo


factory method

public

static IOATABusInfo* atabusinfo( void);

getDMAModes


bit-significant map of DMA mode(s) supported on the bus. Used by clients of ATAControllers to find out about the bus.

public

UInt8 getDMAModes( void );

getPIOModes


returns the bit-significant map of PIO mode(s) supported on the bus. Used by clients of ATAControllers to find out about the bus.

public

UInt8 getPIOModes( void );

getSocketType


returns the socket type, internal fixed, media-bay, PC-Card Used by clients of ATAControllers to find out about the bus

public

ataSocketType getSocketType( void );

getUltraModes


bit-significant map of Ultra mode(s) supported on the bus. Used by clients of ATAControllers to find out about the bus.

public

UInt8 getUltraModes( void );

getUnits


How many devices are present on bus. Used by clients of ATAControllers to find out about the bus.

public

UInt8 getUnits( void );

maxBlocksExtended


The maximum number of 512-byte blocks this controller supports in a single Extended LBA transfer. Some controllers may be limited to less than the maximum sector count allowed under extended LBA protocol.

public

UInt16 maxBlocksExtended( void);

setDMAModes


Bit significant map of supported transfer modes. Set by ATAControllers.

public

void setDMAModes( UInt8 inModeBitMap );

setDMAQueued


Set true if supports DMA Queued Feature. Set by ATAControllers.

public

void setDMAQueued( bool inState);

setExtendedLBA


Set true for supports 48-bit LBA. Set by ATAControllers.

public

void setExtendedLBA( bool inState );

setMaxBlocksExtended


value set by controllers to indicate 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.

public

void setMaxBlocksExtended( UInt16 inMaxBlocks);
Discussion

function setMaxBlocksExtended


setOverlapped


Set true for supports overlapped packet feature set. Set by ATAControllers.

public

void setOverlapped( bool inState);

setPIOModes


Bit significant map of supported transfer modes. Set by ATAControllers.

public

void setPIOModes( UInt8 inModeBitMap);

setSocketType


internal fixed, media-bay, PC-Card. Set by ATAControllers.

public

void setSocketType( ataSocketType inSocketType );

setUltraModes


Bit significant map of supported transfer modes. Set by ATAControllers.

public

void setUltraModes( UInt8 inModeBitMap );

setUnits


set to indicate how many devices are on this bus. Set by ATAControllers.

public

void setUnits( UInt8 inNumUnits );

supportsDMA


True = DMA supported on bus - inferred by looking at the DMA mode bits. Used by clients of ATAControllers to find out about the bus.

public

bool supportsDMA( void );

supportsDMAQueued


Supports DMA Queued Feature set if true. Used by clients of ATAControllers to find out about the bus.

public

bool supportsDMAQueued( void );

supportsExtendedLBA


Supports 48-bit LBA if true. Used by clients of ATAControllers to find out about the bus.

public

bool supportsExtendedLBA( void );

supportsOverlapped


Supports overlapped packet feature set if true. Used by clients of ATAControllers to find out about the bus.

public

bool supportsOverlapped( void );

zeroData


set this object to a blank state.

public

virtual void zeroData( void);

Structs and Unions

ExpansionData

ExpansionData


protected

struct ExpansionData { };
Discussion

This structure will be used to expand the capablilties of the IOWorkLoop in the future.

Member Data

reserved

reserved


protected

ExpansionData *reserved;
Discussion

Reserved for future use. (Internal use only)

 

Did this document help you? Yes It's good, but... Not helpful...

Last Updated: 2010-07-29