e1000e: prevent NVM corruption on sectors larger than 4K
commit28c9195a570a32de2760310ca278d44a4fd060a4
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 1 Jul 2009 13:28:32 +0000 (1 13:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jul 2009 03:09:35 +0000 (3 20:09 -0700)
tree3a91e857274ede2dcdcbe8d2510ec149a23ca785
parent60f1292fcbdff03ef5caea56404d3d81d05026f6
e1000e: prevent NVM corruption on sectors larger than 4K

Limit NVM writes to 4K sections to prevent NVM corruption on larger
sector allocations (up to 64K).

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ich8lan.c