Browse Source

Merge branch 'uniscan' into bfgminer

Luke Dashjr 12 years ago
parent
commit
6b59c1bd90
3 changed files with 3 additions and 0 deletions
  1. 1 0
      driver-bigpic.c
  2. 1 0
      driver-cpu.c
  3. 1 0
      driver-opencl.c

+ 1 - 0
driver-bigpic.c

@@ -310,6 +310,7 @@ static bool bigpic_identify(struct cgpu_info *cgpu)
 struct device_drv bigpic_drv = {
 struct device_drv bigpic_drv = {
 	.dname = "bigpic",
 	.dname = "bigpic",
 	.name = "BPM",
 	.name = "BPM",
+	.probe_priority = -110,
 
 
 	.drv_detect = bigpic_detect,
 	.drv_detect = bigpic_detect,
 
 

+ 1 - 0
driver-cpu.c

@@ -879,6 +879,7 @@ CPUSearch:
 struct device_drv cpu_drv = {
 struct device_drv cpu_drv = {
 	.dname = "cpu",
 	.dname = "cpu",
 	.name = "CPU",
 	.name = "CPU",
+	.probe_priority = 120,
 	.supported_algos = POW_SHA256D | POW_SCRYPT,
 	.supported_algos = POW_SHA256D | POW_SCRYPT,
 	.drv_detect = cpu_detect,
 	.drv_detect = cpu_detect,
 	.thread_prepare = cpu_thread_prepare,
 	.thread_prepare = cpu_thread_prepare,

+ 1 - 0
driver-opencl.c

@@ -1769,6 +1769,7 @@ static void opencl_thread_shutdown(struct thr_info *thr)
 struct device_drv opencl_api = {
 struct device_drv opencl_api = {
 	.dname = "opencl",
 	.dname = "opencl",
 	.name = "OCL",
 	.name = "OCL",
+	.probe_priority = 110,
 	.supported_algos = POW_SHA256D | POW_SCRYPT,
 	.supported_algos = POW_SHA256D | POW_SCRYPT,
 	.drv_detect = opencl_detect,
 	.drv_detect = opencl_detect,
 	.reinit_device = reinit_opencl_device,
 	.reinit_device = reinit_opencl_device,