|
ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
IOFireWireDevice |
| Inherits from: | |
| Declared In: |
Represents a FireWire device.
The FireWire family tries to read the configuration ROM of each device on the FireWire bus. For each device that responds with
its bus information block, the FireWire family publishes an IOFireWireDevice object in the I/O Registry. An
IOFireWireDevice object keeps track of the device's node ID, copies config ROM properties into the object's property
list, and scans the config ROM for unit directories, publishing an IOFireWireUnit object for each unit directory it finds.
Resets the node's characteristics.
Creates local physical FireWire address spaces for the device to access.
Creates local pseudo FireWire address spaces for the device to access.
Retrieves the node's characteristics.
Returns number of units attached to this device.
Initializes the nub.
Sets the maximum speed for this node.
Sets the node's characteristics.
clearNodeFlags |
Resets the node's characteristics.
public
virtual void clearNodeFlags( UInt32 flags );
flagsRefer to "node flags" in IOFireWireFamilyCommon.h.
createPhysicalAddressSpace |
Creates local physical FireWire address spaces for the device to access.
public
virtual IOFWPhysicalAddressSpace *createPhysicalAddressSpace( IOMemoryDescriptor *mem);
memMemory area allocated to back the physical access by Link hardware.
A valid IOFWPhysicalAddressSpace object on success; NULL on failure.
createPseudoAddressSpace |
Creates local pseudo FireWire address spaces for the device to access.
public
virtual IOFWPseudoAddressSpace *createPseudoAddressSpace( FWAddress *addr, UInt32 len, FWReadCallback reader, FWWriteCallback writer, void *refcon);
addrThe FireWire address that is mapped to the pseudo address access.
lenSize of the address space to allocate.
readerRead callback, when the device reads from this address space.
writerWrite callback, when the device writes to this address space.
refconClient's callback object returned during reader/writer callbacks.
A valid IOFWPseudoAddressSpace object on success; NULL on failure.
getNodeFlags |
Retrieves the node's characteristics.
public
virtual UInt32 getNodeFlags( void );
flagsRefer to "node flags" in IOFireWireFamilyCommon.h.
UInt32 The flags set for a particular node.
getUnitCount |
Returns number of units attached to this device.
public
inline UInt32 getUnitCount( void )
UInt32 The number of units attached to this device.
init |
Initializes the nub.
public
virtual bool init( OSDictionary *propTable, const IOFWNodeScan *scan);
propTableProperty table passed to the standard nub initialization.
scanPointer to the node scan structure.
Returns true if initialization was successful; false otherwise.
setMaxSpeed |
Sets the maximum speed for this node.
public
inline void setMaxSpeed( IOFWSpeed speed )
speedMaximum speed. Refer to "bus speed numbers" in IOFireWireFamilyCommon.h.
setNodeFlags |
Sets the node's characteristics.
public
virtual void setNodeFlags( UInt32 flags );
flagsRefer to "node flags" in IOFireWireFamilyCommon.h.
ExpansionData |
protected
struct ExpansionData { };
This structure will be used to expand the capablilties of the class in the future.
reserved |
protected
ExpansionData *reserved;
Reserved for future use. (Internal use only)
|
Last Updated: 2008-12-19