From: Michael Chan Date: Fri, 30 Mar 2007 21:53:06 +0000 (-0700) Subject: [BNX2]: Fix nvram write logic. X-Git-Tag: v2.6.21-rc6~21^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c873879c4db31bab414655e191cf56019b48c751;p=pandora-kernel.git [BNX2]: Fix nvram write logic. The nvram dword alignment logic was broken when writing less than 4 bytes on a non-aligned offset. It was missing logic to round the length to 4 bytes. The page erase code is also moved so that it is only called when using non-buffered flash for better code clarity. Update version to 1.5.7. Based on initial patch from Tony Cureington . Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed