Commit bd632f7be3e893ce654f7437ca9bcfcecc283790

Con Kolivas 2014-07-15T15:59:34

Rename sp10 driver internally from spondoolies to sp10

diff --git a/driver-spondoolies-sp10.c b/driver-spondoolies-sp10.c
index f8ff667..59cc9f9 100644
--- a/driver-spondoolies-sp10.c
+++ b/driver-spondoolies-sp10.c
@@ -144,7 +144,7 @@ static bool spondoolies_flush_queue(struct spond_adapter* a, bool flush_queue)
 static void spondoolies_detect(__maybe_unused bool hotplug)
 {
 	struct cgpu_info *cgpu = calloc(1, sizeof(*cgpu));
-	struct device_drv *drv = &spondoolies_drv;
+	struct device_drv *drv = &sp10_drv;
 	struct spond_adapter *a;
 
 #if NEED_FIX
@@ -430,8 +430,8 @@ static void spond_flush_work(struct cgpu_info *cgpu)
 	mutex_unlock(&a->lock);
 }
 
-struct device_drv spondoolies_drv = {
-	.drv_id = DRIVER_spondoolies,
+struct device_drv sp10_drv = {
+	.drv_id = DRIVER_sp10,
 	.dname = "Spondoolies",
 	.name = "SPN",
 	.max_diff = 64.0, // Limit max diff to get some nonces back regardless
diff --git a/miner.h b/miner.h
index f2d706b..c649648 100644
--- a/miner.h
+++ b/miner.h
@@ -244,7 +244,7 @@ static inline int fsync (int fd)
 	DRIVER_ADD_COMMAND(drillbit) \
 	DRIVER_ADD_COMMAND(bab) \
 	DRIVER_ADD_COMMAND(minion) \
-	DRIVER_ADD_COMMAND(spondoolies) \
+	DRIVER_ADD_COMMAND(sp10) \
 	DRIVER_ADD_COMMAND(sp30)
 
 #define DRIVER_PARSE_COMMANDS(DRIVER_ADD_COMMAND) \