summaryrefslogtreecommitdiff
path: root/io-module/mts_io_module.h
blob: 8b3e606b0f84a0899e35869c48375d0ddea9a977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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  "v4.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 */