Commit f149aea91eea761abc6a2b1985eeffdc80e83a16

Paul Sheppard 2012-06-25T10:33:18

Redo recover removal. FML.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/driver-bitforce.c b/driver-bitforce.c
index 2090459..110d06f 100644
--- a/driver-bitforce.c
+++ b/driver-bitforce.c
@@ -363,11 +363,10 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
 
 	if (!ret) {
 		ret = 1;
- 		applog(LOG_ERR, "BFL%i: Comms error, going to recover mode", bitforce->device_id);
+		applog(LOG_ERR, "BFL%i: Comms error", bitforce->device_id);
 		bitforce->device_last_not_well = time(NULL);
-		bitforce->device_not_well_reason = REASON_THREAD_ZERO_HASH;
-		bitforce->thread_zero_hash_count++;
-		bitforce->deven = DEV_RECOVER;
+		bitforce->device_not_well_reason = REASON_DEV_NOSTART;
+		bitforce->dev_nostart_count++;
 	}
 	return ret;
 }