IOFWBufferFillIsochPort.cpp [plain text]
#import "IOFWBufferFillIsochPort.h"
#undef super
#define super IOFWIsochPort
bool
IOFWBufferFillIsochPort :: init(
IOFireWireBus & bus,
IOByteCount expectedBytesPerSecond,
UInt32 interruptMicroseconds,
PacketProc packetProc,
OSObject * target )
{
if ( ! super::init() )
{
return false ;
}
fBytesPerSecond = expectedBytesPerSecond ;
fIntUSec = interruptMicroseconds ;
fPacketProc = packetProc ;
fTarget = target ;
return true ;
}
IOReturn
IOFWBufferFillIsochPort :: getSupported (
IOFWSpeed & maxSpeed,
UInt64 & chanSupported)
{
maxSpeed = kFWSpeedMaximum;
chanSupported = ~(UInt64)0;
return kIOReturnSuccess;
}