Browse Source

subid field for devices that do not yet support the distinct device/processor interface

Partial of: f080db5f generic work structure flags for BFLSC (and usable by other drivers if needed)

Conflicts:
	miner.h
Kano 13 years ago
parent
commit
ebfaaa28e9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      miner.h

+ 4 - 0
miner.h

@@ -1196,6 +1196,10 @@ struct work {
 	
 	double		work_difficulty;
 
+	// Allow devices to identify work if multiple sub-devices
+	// DEPRECATED: New code should be using multiple processors instead
+	char		subid;
+
 	blktemplate_t	*tmpl;
 	int		*tmpl_refcount;
 	unsigned int	dataid;