Commit 67085a819ef8017b02e131aaf461017297716474

Con Kolivas 2014-03-18T22:39:52

Software ntime roll for all hashfast devices.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/driver-hashfast.c b/driver-hashfast.c
index e408913..e713057 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -1705,10 +1705,10 @@ restart:
 		if (!base_work)
 			base_work = get_work(thr, thr->id);
 
-		/* Older firmwares actually had ntime rolling disabled so we
+		/* HFA hardware actually had ntime rolling disabled so we
 		 * can roll the work ourselves here to minimise the amount of
 		 * work we need to generate. */
-		if (info->firmware_version < 0.6 && base_work->drv_rolllimit > jobs) {
+		if (base_work->drv_rolllimit > jobs) {
 			base_work->drv_rolllimit--;
 			roll_work(base_work);
 			work = make_clone(base_work);