Browse Source

Change device API "name" to reflect driver name abbreviation instead of device type name

Luke Dashjr 13 years ago
parent
commit
459c7de5df
5 changed files with 5 additions and 5 deletions
  1. 1 1
      driver-bitforce.c
  2. 1 1
      driver-icarus.c
  3. 1 1
      driver-modminer.c
  4. 1 1
      driver-opencl.c
  5. 1 1
      driver-ztex.c

+ 1 - 1
driver-bitforce.c

@@ -236,7 +236,7 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
 
 
 struct device_api bitforce_api = {
 struct device_api bitforce_api = {
 	.dname = "bitforce",
 	.dname = "bitforce",
-	.name = "PGA",
+	.name = "BFL",
 	.api_detect = bitforce_detect,
 	.api_detect = bitforce_detect,
 	.get_statline_before = get_bitforce_statline_before,
 	.get_statline_before = get_bitforce_statline_before,
 	.thread_prepare = bitforce_thread_prepare,
 	.thread_prepare = bitforce_thread_prepare,

+ 1 - 1
driver-icarus.c

@@ -812,7 +812,7 @@ static void icarus_shutdown(struct thr_info *thr)
 
 
 struct device_api icarus_api = {
 struct device_api icarus_api = {
 	.dname = "icarus",
 	.dname = "icarus",
-	.name = "PGA",
+	.name = "ICA",
 	.api_detect = icarus_detect,
 	.api_detect = icarus_detect,
 	.get_extra_device_perf_stats = icarus_perf_stats,
 	.get_extra_device_perf_stats = icarus_perf_stats,
 	.thread_prepare = icarus_prepare,
 	.thread_prepare = icarus_prepare,

+ 1 - 1
driver-modminer.c

@@ -553,7 +553,7 @@ modminer_fpga_shutdown(struct thr_info *thr)
 
 
 struct device_api modminer_api = {
 struct device_api modminer_api = {
 	.dname = "modminer",
 	.dname = "modminer",
-	.name = "PGA",
+	.name = "MMQ",
 	.api_detect = modminer_detect,
 	.api_detect = modminer_detect,
 	.get_statline_before = get_modminer_statline_before,
 	.get_statline_before = get_modminer_statline_before,
 	.get_extra_device_status = get_modminer_extra_device_status,
 	.get_extra_device_status = get_modminer_extra_device_status,

+ 1 - 1
driver-opencl.c

@@ -1710,7 +1710,7 @@ static void opencl_thread_shutdown(struct thr_info *thr)
 
 
 struct device_api opencl_api = {
 struct device_api opencl_api = {
 	.dname = "opencl",
 	.dname = "opencl",
-	.name = "GPU",
+	.name = "OCL",
 	.api_detect = opencl_detect,
 	.api_detect = opencl_detect,
 	.reinit_device = reinit_opencl_device,
 	.reinit_device = reinit_opencl_device,
 #ifdef HAVE_ADL
 #ifdef HAVE_ADL

+ 1 - 1
driver-ztex.c

@@ -406,7 +406,7 @@ static void ztex_disable(struct thr_info *thr)
 
 
 struct device_api ztex_api = {
 struct device_api ztex_api = {
 	.dname = "ztex",
 	.dname = "ztex",
-	.name = "PGA",
+	.name = "ZTX",
 	.api_detect = ztex_detect,
 	.api_detect = ztex_detect,
 	.get_statline_before = ztex_statline_before,
 	.get_statline_before = ztex_statline_before,
 	.get_extra_device_status = get_ztex_extra_device_status,
 	.get_extra_device_status = get_ztex_extra_device_status,