return kIOReturnSuccess;
}
-IOReturn IODMAEventSource::stopDMACommand(bool flush, mach_timespec_t *timeout)
+IOReturn IODMAEventSource::stopDMACommand(bool flush, uint64_t timeout)
{
if ((dmaController == 0) || (dmaIndex == 0xFFFFFFFF)) return kIOReturnError;
}
+IOByteCount IODMAEventSource::getFIFODepth()
+{
+ if ((dmaController == 0) || (dmaIndex == 0xFFFFFFFF)) return kIOReturnError;
+
+ return dmaController->getFIFODepth(dmaIndex);
+}
+
+
// protected
bool IODMAEventSource::checkForWork(void)