Browse Source

generic work structure flags for BFLSC (and usable by other drivers if needed)

Kano 13 years ago
parent
commit
f080db5fee
1 changed files with 5 additions and 0 deletions
  1. 5 0
      miner.h

+ 5 - 0
miner.h

@@ -1144,6 +1144,11 @@ struct work {
 
 
 	double		work_difficulty;
 	double		work_difficulty;
 
 
+	// Allow devices to identify work if multiple sub-devices
+	int		subid;
+	// Allow devices to flag work for their own purposes
+	bool		devflag;
+
 	struct timeval	tv_getwork;
 	struct timeval	tv_getwork;
 	struct timeval	tv_getwork_reply;
 	struct timeval	tv_getwork_reply;
 	struct timeval	tv_cloned;
 	struct timeval	tv_cloned;