Commit 6468449c57b966ddc719b438b67b4245ca7fcadb

kanoi 2014-07-02T03:38:49

bflsc28 - add chip count to stats

diff --git a/driver-bflsc.c b/driver-bflsc.c
index a84adbd..51d2196 100644
--- a/driver-bflsc.c
+++ b/driver-bflsc.c
@@ -663,6 +663,8 @@ static bool getinfo(struct cgpu_info *bflsc, int dev)
 		}
 		else if (strstr(firstname, BFLSC_DI_CHIPS))
 			sc_dev.chips = strdup(fields[0]);
+		else if (strstr(firstname, BFLSC28_DI_ASICS))
+			sc_dev.chips = strdup(fields[0]);
 
 		freebreakdown(&count, &firstname, &fields);
 	}
diff --git a/driver-bflsc.h b/driver-bflsc.h
index 642a3e9..6431ba2 100644
--- a/driver-bflsc.h
+++ b/driver-bflsc.h
@@ -60,6 +60,7 @@ enum driver_version {
 #define BFLSC_DI_CHAINPRESENCE "CHAIN PRESENCE MASK"
 #define BFLSC_DI_CHIPS "CHIP PARALLELIZATION"
 #define BFLSC_DI_CHIPS_PARALLEL "YES"
+#define BFLSC28_DI_ASICS "ASIC Installed"
 
 #define FULLNONCE 0x100000000ULL