@@ -400,9 +400,10 @@ static void get_options(int this_option_offset, int *baud, int *miner_count,
}
*baud = AVALON_IO_SPEED;
- *miner_count = AVALON_DEFAULT_MINER_NUM;
+ *miner_count = AVALON_DEFAULT_MINER_NUM - 8;
*asic_count = AVALON_DEFAULT_ASIC_NUM;
*timeout = AVALON_DEFAULT_TIMEOUT;
+ *frequency = AVALON_DEFAULT_FREQUENCY;
if (!(*buf))
return;
@@ -21,7 +21,9 @@
#define AVALON_FAN_FACTOR 120
#define AVALON_DEFAULT_FAN_MAX_PWM 0xA0 /* 100% */
#define AVALON_DEFAULT_FAN_MIN_PWM 0x20 /* 20% */
+
#define AVALON_DEFAULT_TIMEOUT 0x32
+#define AVALON_DEFAULT_FREQUENCY 256
#define AVALON_DEFAULT_MINER_NUM 0x20
#define AVALON_DEFAULT_ASIC_NUM 0xA