iwlwifi: dump periphery registers to fw-error-dump
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 26 Jun 2014 08:27:51 +0000 (11:27 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 22 Jul 2014 16:21:11 +0000 (19:21 +0300)
commit67c65f2cf7105f139909bad79c048e8aec0dc140
treed777e543c87f2735ca6418de65cab59cc6d58393
parent48eb7b34ff027392985fae213c4d1d0fcc425b9c
iwlwifi: dump periphery registers to fw-error-dump

Use the fw-error-dump infrastructure to dump the periphery
registers. Only certain ranges are readable, so dump only
these.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h
drivers/net/wireless/iwlwifi/pcie/trans.c