Browse Source

Give a warning but don't reset if the avalon buffer is full early.

Con Kolivas 12 years ago
parent
commit
91edf84c60
1 changed files with 2 additions and 4 deletions
  1. 2 4
      driver-avalon.c

+ 2 - 4
driver-avalon.c

@@ -793,10 +793,8 @@ static void *avalon_send_tasks(void *userdata)
 		for (i = start_count, j = 0; i < end_count; i++, j++) {
 		for (i = start_count, j = 0; i < end_count; i++, j++) {
 			if (unlikely(avalon_buffer_full(fd) == AVA_BUFFER_FULL)) {
 			if (unlikely(avalon_buffer_full(fd) == AVA_BUFFER_FULL)) {
 				applog(LOG_WARNING,
 				applog(LOG_WARNING,
-				       "AVA%i: Buffer full before all work queued",
-					avalon->device_id);
-				dev_error(avalon, REASON_DEV_COMMS_ERROR);
-				__avalon_running_reset(avalon, info, fd);
+				       "AVA%i: Buffer full after only %d of %d work queued",
+					avalon->device_id, j, avalon_get_work_count);
 				break;
 				break;
 			}
 			}