summaryrefslogtreecommitdiff
path: root/io-module/mts_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io-module/mts_io.c')
-rw-r--r--io-module/mts_io.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index d360256..35146ea 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -47,7 +47,7 @@
#include "mts_io.h"
-#define DRIVER_VERSION "v2.0.4"
+#define DRIVER_VERSION "v2.0.5"
#define DRIVER_AUTHOR "James Maki <jmaki@multitech.com>"
#define DRIVER_DESC "MTS-IO Controller"
#define DRIVER_NAME "mts-io"
@@ -721,6 +721,7 @@ static int get_radio_model_from_product_id(void) {
#include "mtcdt.c"
#include "mtcap.c"
#include "mtr.c"
+#include "hs.c"
/* include capabilities sub-directory support */
#include "mts_capab.c"
@@ -950,6 +951,11 @@ mts_id_eeprom_load(void)
gpio_pins = gpio_pins_mtrv1_0_2;
mts_hw_version = MTRV1_0_2;
log_info("detected board %s", HW_VERSION_MTRV1_0_2);
+ } else if (strncmp(id_eeprom.hw_version, HW_VERSION_MTHS_0_0, strlen(HW_VERSION_MTHS_0_0)) == 0) {
+ attr_group = &mths_0_0_platform_attribute_group;
+ gpio_pins = gpio_pins_mths_0_0;
+ mts_hw_version = MTHS_0_0;
+ log_info("detected board %s", HW_VERSION_MTHS_0_0);
} else if (((tmp=HW_VERSION_MTCDT_0_1),strncmp(id_eeprom.hw_version, tmp, strlen(tmp)) == 0) ||
((tmp=HW_VERSION_MTCDTIP_0_0),strncmp(id_eeprom.hw_version, tmp, strlen(tmp)) == 0)) {
current_blength = attr_blength = sizeof mtcdt_0_1_platform_attributes;