e1000e: write protect ICHx NVM to prevent malicious write/erase
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 2 Oct 2008 00:18:35 +0000 (17:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 2 Oct 2008 00:31:25 +0000 (17:31 -0700)
commit4a7703582836f55a1cbad0e2c1c6ebbee3f9b3a7
tree8ebe25b1ef16c8fd4ced6d356232ddca94ef97a2
parent20b918dc77b383e9779dafceee3f2198a6f7b0e5
e1000e: write protect ICHx NVM to prevent malicious write/erase

Set the hardware to ignore all write/erase cycles to the GbE region in
the ICHx NVM.  This feature can be disabled by the WriteProtectNVM module
parameter (enabled by default) only after a hardware reset, but
the machine must be power cycled before trying to enable writes.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
CC: arjan@linux.intel.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/e1000e/e1000.h
drivers/net/e1000e/ethtool.c
drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/netdev.c
drivers/net/e1000e/param.c