Commit 290666a1248e47a1fddffa88b31604e9ed9971e9

Con Kolivas 2013-05-25T14:54:00

Show how many idle tasks are sent to avalon if it aborts on buffer full.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-avalon.c b/driver-avalon.c
index ca0ae86..23b94b4 100644
--- a/driver-avalon.c
+++ b/driver-avalon.c
@@ -401,7 +401,7 @@ static void avalon_idle(struct cgpu_info *avalon, int fd)
 		int ret;
 
 		if (unlikely(avalon_buffer_full(fd))) {
-			applog(LOG_WARNING, "Avalon buffer full in avalon_idle");
+			applog(LOG_WARNING, "Avalon buffer full in avalon_idle after %d tasks", i);
 			break;
 		}
 		avalon_init_task(&at, 0, 0, info->fan_pwm,