iwlwifi: update nmi register
In the 8000 HW family the register for forcing an NMI has changed, so this allows to still be able to force an NMI while taking into account the HW in order to write to the correct register. Signed-off-by: Liad Kaufman <liad.kaufman@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:

committed by
Emmanuel Grumbach

parent
cf52023ccd
commit
4c9706dc2f
@@ -65,7 +65,6 @@
|
||||
#include "mvm.h"
|
||||
#include "sta.h"
|
||||
#include "iwl-io.h"
|
||||
#include "iwl-prph.h"
|
||||
#include "debugfs.h"
|
||||
#include "iwl-fw-error-dump.h"
|
||||
|
||||
@@ -691,7 +690,7 @@ static ssize_t iwl_dbgfs_fw_restart_write(struct iwl_mvm *mvm, char *buf,
|
||||
static ssize_t iwl_dbgfs_fw_nmi_write(struct iwl_mvm *mvm, char *buf,
|
||||
size_t count, loff_t *ppos)
|
||||
{
|
||||
iwl_write_prph(mvm->trans, DEVICE_SET_NMI_REG, 1);
|
||||
iwl_force_nmi(mvm->trans);
|
||||
|
||||
return count;
|
||||
}
|
||||
|
Reference in New Issue
Block a user