Commit e175325c1ef0b824032cb6964f37d59c9c6d381a

Con Kolivas 2013-11-30T18:12:50

Add debugging to hfa driver for how many jobs are being sent.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/driver-hashfast.c b/driver-hashfast.c
index d5924a5..2f0c076 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -831,6 +831,11 @@ restart:
 		jobs = hfa_jobs(info);
 	}
 
+	if (jobs) {
+		applog(LOG_DEBUG, "HFA %d: Sending %d new jobs", hashfast->device_id,
+		       jobs);
+	}
+
 	while (jobs-- > 0) {
 		struct hf_hash_usb op_hash_data;
 		struct work *work;