summaryrefslogtreecommitdiff
path: root/io-module/mts_io.h
diff options
context:
space:
mode:
authorThanh Tran <ttran@multitech.com>2011-09-30 14:24:09 -0500
committerThanh Tran <ttran@multitech.com>2011-09-30 14:24:09 -0500
commitc2692bb311707caf7b815b438dfda7569345f5db (patch)
tree0fafea1533571e39d512e82f1ae18e46134fb9c0 /io-module/mts_io.h
parent7db83cc15dde71ec288c7b7424b2dbad12b18ecd (diff)
downloadmts-io-c2692bb311707caf7b815b438dfda7569345f5db.tar.gz
mts-io-c2692bb311707caf7b815b438dfda7569345f5db.tar.bz2
mts-io-c2692bb311707caf7b815b438dfda7569345f5db.zip
Defined mts_product_id variable to store current product type on driver init. All subsequence product type checkings are now done using this variable.
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r--io-module/mts_io.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h
index 38551ad..c15d5b0 100644
--- a/io-module/mts_io.h
+++ b/io-module/mts_io.h
@@ -19,6 +19,12 @@
#define HW_VERSION_MTCDP_1_0 "MTCDP-1.0"
#define HW_VERSION_MT100EOCG_0_0 "MT100EOCG-0.0"
+enum {
+ MTCDP_E1_DK_0_0,
+ MTCDP_E1_DK_1_0,
+ MT100EOCG_0_0
+};
+
#define DEVICE_CAPA_INDEX(c) (((c) & 0xFF) >> 3)
#define DEVICE_CAPA_MASK(c) BIT((c) & 0x07)