Commit 5a58b3f5b345cac4044a052a872658e4304c8d6c

nelisky 2012-05-03T09:06:09

Missing the add cgpu per extra fpga on 1.15y boards

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/driver-ztex.c b/driver-ztex.c
index fc4b243..855e9f0 100644
--- a/driver-ztex.c
+++ b/driver-ztex.c
@@ -89,6 +89,7 @@ static void ztex_detect(void)
 			ztex->device_ztex = ztex_slave;
 			ztex_slave->root = ztex_devices[i]->dev;
 			ztex_slave->fpgaNum = j;
+			add_cgpu(ztex);
 		}
 
 		applog(LOG_WARNING,"%s: Found Ztex (fpga count = %d) , mark as %d", ztex->device_ztex->repr, fpgacount, ztex->device_id);