Commit 6395a8718000a94028e80928125be28eb8029d49

Angus Gratton 2013-12-16T14:58:52

Log message fixups

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/driver-drillbit.c b/driver-drillbit.c
index 3a7458d..016757d 100644
--- a/driver-drillbit.c
+++ b/driver-drillbit.c
@@ -877,13 +877,13 @@ cascade:
         drillbit_empty_buffer(drillbit);
 
 	if (unlikely(drillbit->usbinfo.nodev)) {
-		drvlog(LOG_WARNING, "%s %d: Device disappeared, disabling thread",
-                        drillbit->drv->name, drillbit->device_id);
-		return -1;
+                drvlog(LOG_WARNING, "Device disappeared, disabling thread");
+                return -1;
 	}
 
 	if (unlikely(thr->work_restart)) {
 		/* Issue an ASIC reset as we won't be coming back for any of these results */
+                drvlog(LOG_DEBUG, "Received work restart, resetting ASIC");
 		drillbit_reset(drillbit);
 	}