diff options
author | Shannon Nelson <shannon.nelson@intel.com> | 2015-02-27 09:18:33 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-03-09 05:20:47 -0700 |
commit | 29a0645c7dfcd664f1e92ab8d7539bba600b7102 (patch) | |
tree | 89b5a1069d2344f6e00a2dcbc60100f92b5ca7a7 /drivers/net/ethernet/intel/i40e/i40e_common.c | |
parent | 97bf75f169d20c2aef1081fbe7bb5cc9656a4dc2 (diff) |
i40e: tame the nvmupdate read and write complaints
The NVMUpdate tool doesn't necessarily know the ReadOnly map of the current
NVM image, and must try reading and writing words that may be protected.
This generates an error out of the Firmware request that the driver logs.
Unfortunately, this ends up spitting out hundreds of bogus read and write
error message that looks rather messy.
This patch checks the error type and under normal conditions will not print
the typical read and write errors during NVMUpdate. This can be overridden
by enabling the NVM update debugging. This results in a much less messy log
file, and likely many fewer customer support questions.
Change-ID: Id4ff2e9048c523b0ff503aa5ab181b025ec948ea
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_common.c')
0 files changed, 0 insertions, 0 deletions