summaryrefslogtreecommitdiff
path: root/io-module/mts_io_module.h
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-10-15 14:09:53 -0500
committerJohn Klug <john.klug@multitech.com>2018-10-15 14:09:53 -0500
commit75f812b964c388cd1e41d5dd77d48ad82b32ec38 (patch)
treea720efda2928df276fb382e890cab2ad947e24d0 /io-module/mts_io_module.h
parentd2a70d9285ca3339fa9df44b83cfe9bc0d5ce8b7 (diff)
downloadmts-io-75f812b964c388cd1e41d5dd77d48ad82b32ec38.tar.gz
mts-io-75f812b964c388cd1e41d5dd77d48ad82b32ec38.tar.bz2
mts-io-75f812b964c388cd1e41d5dd77d48ad82b32ec38.zip
Remove mtac cards. mts-io version 3.0.03.0.0
Diffstat (limited to 'io-module/mts_io_module.h')
-rw-r--r--io-module/mts_io_module.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/io-module/mts_io_module.h b/io-module/mts_io_module.h
new file mode 100644
index 0000000..b7e5237
--- /dev/null
+++ b/io-module/mts_io_module.h
@@ -0,0 +1,74 @@
+#ifndef __MTS_IO_MODULE_H
+#define __MTS_IO_MODULE_H
+
+/* Specific to mts-io module, and not used by the
+ * MTAC cards.
+ */
+
+#define DRIVER_VERSION "v3.0.0"
+#define DRIVER_AUTHOR "James Maki <jmaki@multitech.com>"
+#define DRIVER_DESC "MTS-IO Controller"
+#define DRIVER_NAME "mts-io"
+#define DEBUG 0
+
+
+#define PRODUCT_ID_MTCDP_E1_DK "MTCDP-E1-DK"
+#define PRODUCT_ID_MT100EOCG "MT100EOCG"
+#define PRODUCT_ID_MTR "MTR"
+#define PRODUCT_ID_MTCDT "MTCDT"
+#define PRODUCT_ID_MTCAP "MTCAP"
+#define PRODUCT_ID_MTCDTIP "MTCDTIP"
+#define PRODUCT_ID_MTCDTIPHP "MTCDTIPHP"
+#define PRODUCT_ID_MTHS "MTHS"
+
+#define HW_VERSION_MTCBA2_2_0 "MTCBA2-2.0"
+#define HW_VERSION_MTCDP_0_0 "MTCDP-0.0"
+#define HW_VERSION_MTCDP_1_0 "MTCDP-1.0"
+#define HW_VERSION_MT100EOCG_0_0 "MT100EOCG-0.0"
+#define HW_VERSION_MTR_0_0 "MTR-0.0"
+#define HW_VERSION_MTR_0_1 "MTR-0.1"
+#define HW_VERSION_MTRV1_0_0 "MTRV1-0.0"
+#define HW_VERSION_MTRV1_0_1 "MTRV1-0.1"
+#define HW_VERSION_MTRV1_0_2 "MTRV1-0.2" // Cat M
+#define HW_VERSION_MTCDT_0_0 "MTCDT-0.0"
+#define HW_VERSION_MTCDT_0_1 "MTCDT-0.1"
+#define HW_VERSION_MTCDTIP_0_0 "MTCDTIP-0.0"
+#define HW_VERSION_MTCDTIPHP_0_0 "MTCDTIPHP-0.0"
+#define HW_VERSION_MTCAP_0_0 "MTCAP-0.0"
+#define HW_VERSION_MTCAP_0_1 "MTCAP-0.1"
+#define HW_VERSION_MTHS_0_0 "MTHS-0.0"
+
+enum {
+ MTCDP_E1_DK_0_0,
+ MTCDP_E1_DK_1_0,
+ MT100EOCG_0_0,
+ MTR_0_0,
+ MTR_0_1,
+ MTRV1_0_0,
+ MTRV1_0_1,
+ MTRV1_0_2,
+ MTCDT_0_0,
+ MTCDT_0_1,
+ MTCDTIPHP_0_0,
+ MTCAP_0_0,
+ MTCAP_0_1,
+ MTHS_0_0,
+};
+
+enum {
+ LED_OFF,
+ LED_ON,
+ LED_FLASHING,
+};
+
+enum {
+ RADIO_UNKNOWN,
+ RADIO_LEU1, // LE910-EUG
+ RADIO_LEU3, // LE910-EU1
+ RADIO_LNA3, // LE910-NA1
+};
+
+extern struct mutex mts_io_mutex;
+
+
+#endif /* __MTS_IO_MODULE_H */