summaryrefslogtreecommitdiff
path: root/mtac.c
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 /mtac.c
parentb1421b0c3504b84b4342f4f7aadcc253714461b2 (diff)
downloadmtac-51f720ec2513cfcc06226c5efb6ad016e56e0357.tar.gz
mtac-51f720ec2513cfcc06226c5efb6ad016e56e0357.tar.bz2
mtac-51f720ec2513cfcc06226c5efb6ad016e56e0357.zip
Add correct eeprom paths by machine type4.0.6
Diffstat (limited to 'mtac.c')
-rw-r--r--mtac.c9
1 files changed, 7 insertions, 2 deletions
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,