summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-10-30 18:14:11 -0500
committerJohn Klug <john.klug@multitech.com>2020-10-30 18:14:11 -0500
commit51f720ec2513cfcc06226c5efb6ad016e56e0357 (patch)
tree3f2e10ddb1c2945fb971edcd7af1c990465fcb7a
parentb1421b0c3504b84b4342f4f7aadcc253714461b2 (diff)
downloadmtac-51f720ec2513cfcc06226c5efb6ad016e56e0357.tar.gz
mtac-51f720ec2513cfcc06226c5efb6ad016e56e0357.tar.bz2
mtac-51f720ec2513cfcc06226c5efb6ad016e56e0357.zip
Add correct eeprom paths by machine type4.0.6
-rw-r--r--configure.ac2
-rw-r--r--mtac.c9
2 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 4396685..8e49919 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([mts-io], [1.0.0])
+AC_INIT([mtac], [4.0.6])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER([config.h])
diff --git a/mtac.c b/mtac.c
index 3215fc3..2fefc0e 100644
--- a/mtac.c
+++ b/mtac.c
@@ -22,8 +22,13 @@ EXPORT_SYMBOL(mts_ap_eeprom);
static const char* eeprom_file_name[NUM_AP] = {
#if NUM_AP > 0
- "1-0050/eeprom", "1-0052/eeprom"
-#endif
+ #ifdef mtcdt
+ "1-0050/eeprom", "1-0052/eeprom"
+ #endif
+ #ifdef mtcpmhs
+ "2-0050/eeprom", "2-0052/eeprom"
+ #endif
+#endif // NUM_AP > 0
};
/* info for accessory port (contains function pointers for setup and teardown,