diff options
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])) { |