|
|
@ -6311,7 +6311,7 @@ void hash_queued_work(struct thr_info *mythr) |
|
|
|
applog(LOG_ERR, "%s %d failure, disabling!", drv->name, cgpu->device_id); |
|
|
|
applog(LOG_ERR, "%s %d failure, disabling!", drv->name, cgpu->device_id); |
|
|
|
cgpu->deven = DEV_DISABLED; |
|
|
|
cgpu->deven = DEV_DISABLED; |
|
|
|
dev_error(cgpu, REASON_THREAD_ZERO_HASH); |
|
|
|
dev_error(cgpu, REASON_THREAD_ZERO_HASH); |
|
|
|
mt_disable(mythr, thr_id, drv); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
hashes_done += hashes; |
|
|
|
hashes_done += hashes; |
|
|
@ -6358,7 +6358,7 @@ void hash_driver_work(struct thr_info *mythr) |
|
|
|
applog(LOG_ERR, "%s %d failure, disabling!", drv->name, cgpu->device_id); |
|
|
|
applog(LOG_ERR, "%s %d failure, disabling!", drv->name, cgpu->device_id); |
|
|
|
cgpu->deven = DEV_DISABLED; |
|
|
|
cgpu->deven = DEV_DISABLED; |
|
|
|
dev_error(cgpu, REASON_THREAD_ZERO_HASH); |
|
|
|
dev_error(cgpu, REASON_THREAD_ZERO_HASH); |
|
|
|
mt_disable(mythr, thr_id, drv); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
hashes_done += hashes; |
|
|
|
hashes_done += hashes; |
|
|
|