Browse Source

RPC: Include PGA support for X6500-only builds

Luke Dashjr 13 years ago
parent
commit
5d19efc513
2 changed files with 10 additions and 1 deletions
  1. 6 0
      API-README
  2. 4 1
      api.c

+ 6 - 0
API-README

@@ -384,6 +384,12 @@ miner.php - an example web page to access the API
 Feature Changelog for external applications using the API:
 Feature Changelog for external applications using the API:
 
 
 
 
+API V?
+
+Support for the X6500 FPGA was added
+
+----------
+
 API V1.19b (BFGMiner v2.8.1)
 API V1.19b (BFGMiner v2.8.1)
 
 
 Added API commands:
 Added API commands:

+ 4 - 1
api.c

@@ -27,7 +27,7 @@
 #include "miner.h"
 #include "miner.h"
 #include "driver-cpu.h" /* for algo_names[], TODO: re-factor dependency */
 #include "driver-cpu.h" /* for algo_names[], TODO: re-factor dependency */
 
 
-#if defined(USE_BITFORCE) || defined(USE_ICARUS) || defined(USE_ZTEX) || defined(USE_MODMINER)
+#if defined(USE_BITFORCE) || defined(USE_ICARUS) || defined(USE_MODMINER) || defined(USE_X6500) || defined(USE_ZTEX)
 #define HAVE_AN_FPGA 1
 #define HAVE_AN_FPGA 1
 #endif
 #endif
 
 
@@ -203,6 +203,9 @@ static const char *DEVICECODE = ""
 #ifdef USE_ICARUS
 #ifdef USE_ICARUS
 			"ICA "
 			"ICA "
 #endif
 #endif
+#ifdef USE_X6500
+			"XBS "
+#endif
 #ifdef USE_ZTEX
 #ifdef USE_ZTEX
 			"ZTX "
 			"ZTX "
 #endif
 #endif