]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Drivers/platform/drvAppleCuda/IOCudaADBController.cpp
xnu-201.tar.gz
[apple/xnu.git] / iokit / Drivers / platform / drvAppleCuda / IOCudaADBController.cpp
index 677bdfc801d8f6a8c2c19f2760055a209336b8a5..e8a0db837557f700e4b001763f891aeb27554a1c 100644 (file)
@@ -50,11 +50,11 @@ return super::init(properties);
 // **********************************************************************************
 bool IOCudaADBController::start ( IOService *nub )
 {
-if( !super::start(nub))
-    return false;
 
-CudaDriver->registerForADBInterrupts ( autopollHandler, this );
-return true;
+       CudaDriver->registerForADBInterrupts ( autopollHandler, this );
+       if( !super::start(nub))
+               return false;
+       return true;
 }
 
 
@@ -163,6 +163,16 @@ return CudaDriver->doSyncRequest(&cmd);
 }
 
 
+// **********************************************************************************
+// cancelAllIO
+//
+// **********************************************************************************
+IOReturn IOCudaADBController::cancelAllIO ( void )
+{
+    return kIOReturnSuccess;
+}
+
+
 // **********************************************************************************
 // flushDevice
 //