diff options
author | Patrick Murphy <patrick.muprphy@multitech.com> | 2021-01-28 07:35:33 -0600 |
---|---|---|
committer | Patrick Murphy <patrick.muprphy@multitech.com> | 2021-01-28 07:35:33 -0600 |
commit | 6e2f486653ea1fd6f4cba998e5a3119c51f6fc6e (patch) | |
tree | a9dae96db996fb131b3e0976c42c814a63ae1b16 /mtac.c | |
parent | d9e9096d724d20e9765ccc38a17b2bc85cbc3897 (diff) | |
download | mtac-6e2f486653ea1fd6f4cba998e5a3119c51f6fc6e.tar.gz mtac-6e2f486653ea1fd6f4cba998e5a3119c51f6fc6e.tar.bz2 mtac-6e2f486653ea1fd6f4cba998e5a3119c51f6fc6e.zip |
initial commit of added built in mtac slot support
Diffstat (limited to 'mtac.c')
-rw-r--r-- | mtac.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -26,7 +26,8 @@ static const char* eeprom_file_name[NUM_AP] = { "1-0050/eeprom", "1-0052/eeprom" #endif #ifdef mtcpmhs - "2-0050/eeprom", "2-0052/eeprom" + /*2nd */ + "2-0050/eeprom", "2-0052/eeprom", "2-0050/eeprom" #endif #endif // NUM_AP > 0 }; @@ -491,9 +492,12 @@ static int __init mtac_init(void) int ret; log_debug("init: " DRIVER_VERSION); + log_debug("NUM_AP: %s", NUM_AP); mutex_lock(&mtac_mutex); for (port_index = 0; port_index < NUM_AP; port_index++) { + log_info("port_index: %s", port_index); + log_info("eeprom_file_name[port_index]: %s",eeprom_file_name[port_index]); mts_ap_eeprom[port_index][0] = 0x00; /* initialize to not present */ if((ret = request_firmware_direct(&fw, eeprom_file_name[port_index], &mts_io_platform_device->dev)) == 0) { if(fw->size == sizeof(mts_ap_eeprom[0])) { |