|
@@ -406,7 +406,7 @@ static void iwl_continuous_event_trace(struct iwl_priv *priv)
|
|
|
|
|
|
base = priv->device_pointers.log_event_table;
|
|
|
if (iwlagn_hw_valid_rtc_data_addr(base)) {
|
|
|
- iwl_read_targ_mem_words(priv->trans, base, &read, sizeof(read));
|
|
|
+ iwl_read_targ_mem_bytes(priv->trans, base, &read, sizeof(read));
|
|
|
capacity = read.capacity;
|
|
|
mode = read.mode;
|
|
|
num_wraps = read.wrap_counter;
|
|
@@ -1671,7 +1671,7 @@ static void iwl_dump_nic_error_log(struct iwl_priv *priv)
|
|
|
}
|
|
|
|
|
|
/*TODO: Update dbgfs with ISR error stats obtained below */
|
|
|
- iwl_read_targ_mem_words(trans, base, &table, sizeof(table));
|
|
|
+ iwl_read_targ_mem_bytes(trans, base, &table, sizeof(table));
|
|
|
|
|
|
if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) {
|
|
|
IWL_ERR(trans, "Start IWL Error Log Dump:\n");
|