|
|
@ -358,13 +358,6 @@ static int icarus_get_nonce(struct cgpu_info *icarus, unsigned char *buf, struct |
|
|
|
return ICA_NONCE_TIMEOUT; |
|
|
|
return ICA_NONCE_TIMEOUT; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (amt > 0) { |
|
|
|
|
|
|
|
buf += amt; |
|
|
|
|
|
|
|
read_amount -= amt; |
|
|
|
|
|
|
|
first = false; |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (thr && thr->work_restart) { |
|
|
|
if (thr && thr->work_restart) { |
|
|
|
if (opt_debug) { |
|
|
|
if (opt_debug) { |
|
|
|
applog(LOG_DEBUG, |
|
|
|
applog(LOG_DEBUG, |
|
|
@ -372,6 +365,12 @@ static int icarus_get_nonce(struct cgpu_info *icarus, unsigned char *buf, struct |
|
|
|
} |
|
|
|
} |
|
|
|
return ICA_NONCE_RESTART; |
|
|
|
return ICA_NONCE_RESTART; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (amt > 0) { |
|
|
|
|
|
|
|
buf += amt; |
|
|
|
|
|
|
|
read_amount -= amt; |
|
|
|
|
|
|
|
first = false; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|