master/foe_request.c
changeset 1336 e27b37e80a99
parent 1335 09c6fce1ae45
child 1363 11c0b2caa253
--- a/master/foe_request.c	Mon Jan 26 13:01:58 2009 +0000
+++ b/master/foe_request.c	Mon Jan 26 13:09:27 2009 +0000
@@ -41,6 +41,7 @@
 #include <linux/jiffies.h>
 
 #include "foe_request.h"
+#include "foe.h"
 
 /*****************************************************************************/
 
@@ -68,7 +69,8 @@
     req->issue_timeout = 0; // no timeout
     req->response_timeout = EC_FOE_REQUEST_RESPONSE_TIMEOUT;
     req->state = EC_INT_REQUEST_INIT;
-    req->abort_code = 0x00000000;
+    req->result = FOE_BUSY;
+    req->error_code = 0x00000000;
 }
 
 /*****************************************************************************/
@@ -184,7 +186,7 @@
 {
     req->dir = EC_DIR_INPUT;
     req->state = EC_INT_REQUEST_QUEUED;
-    req->abort_code = 0x00000000;
+    req->result = FOE_BUSY;
     req->jiffies_start = jiffies;
 }
 
@@ -194,7 +196,7 @@
 {
     req->dir = EC_DIR_OUTPUT;
     req->state = EC_INT_REQUEST_QUEUED;
-    req->abort_code = 0x00000000;
+    req->result = FOE_BUSY;
     req->jiffies_start = jiffies;
 }