  	if (!modular[0] && !modular[1] && !modular[2] && !modular[3])
  		return false;
  
-@@ -595,28 +662,27 @@ static bool avalon2_detect_one(const char *devpath)
+@@ -595,28 +664,27 @@ static bool avalon2_detect_one(const char *devpath)
  
  	info = avalon2->device_data;
  

 }
 
 static inline int get_temp_max(struct avalon2_info *info)
@@ -165,12 +188,13 @@ static inline int get_temp_max(struct avalon2_info *info)
 	return info->temp_max;
 }
 

+	OPT_WITHOUT_ARG("--avalon2-fixed-speed",
+		     set_avalon2_fixed_speed, &opt_avalon2_fan_fixed,
+		     "Set Avalon2 fan to fixed speed"),
+	OPT_WITH_ARG("--avalon2-polling-delay",
+		     set_int_1_to_65535, opt_show_intval, &opt_avalon2_polling_delay,
+		     "Set Avalon2 polling delay value (ms, default: 20)"),
 #endif
 #ifdef USE_BAB
 	OPT_WITH_ARG("--bab-options",
@@ -1245,6 +1252,9 @@ static struct opt_table opt_config_table[] = {
 	OPT_WITHOUT_ARG("--fix-protocol",
 			opt_set_bool, &opt_fix_protocol,
 			"Do not redirect to a different getwork protocol (eg. stratum)"),
+	OPT_WITH_ARG("--stratum-ignore",
+		     set_int_1_to_65535, opt_show_intval, &opt_stratum_ignore,
+		     "Set stratum message ignore time"),
 #ifdef USE_HASHFAST
 	OPT_WITHOUT_ARG("--hfa-dfu-boot",
 			opt_set_bool, &opt_hfa_dfu_boot,
@@ -6763,16 +6773,27 @@ void set_target(unsigned char *dest_target, double diff)
 }
 
 #ifdef USE_AVALON2
