Michael Chan c873879c4d [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 <tony.cureington@hp.com>.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-02 13:30:55 -07:00
..
2007-03-29 08:26:05 -04:00
2007-03-23 01:48:34 -04:00
2007-03-02 20:44:51 -08:00
2007-03-02 20:44:51 -08:00
2007-03-02 20:44:51 -08:00
2007-02-17 15:37:14 -05:00
2007-03-09 11:57:09 -05:00
2007-02-09 09:14:07 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-03-02 20:44:51 -08:00
2007-01-30 09:36:01 -05:00
2006-09-13 13:24:59 -04:00
2007-02-09 09:14:07 -08:00
2007-03-02 20:44:51 -08:00
2007-03-02 20:44:51 -08:00
2007-02-17 15:37:14 -05:00
2007-02-06 19:03:56 -05:00
2007-02-05 16:58:47 -05:00
2006-09-13 13:24:59 -04:00
2007-04-02 13:30:55 -07:00
2007-02-02 00:46:35 -08:00
2006-09-13 13:24:59 -04:00
2007-02-09 16:23:17 +00:00
2007-02-09 16:23:17 +00:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-08 12:32:36 -07:00
2006-09-13 13:24:59 -04:00
2007-02-09 09:14:07 -08:00
2006-09-13 13:24:59 -04:00
2007-02-09 09:14:07 -08:00
2006-09-13 13:24:59 -04:00
2007-03-28 02:18:51 -04:00
2006-09-13 13:24:59 -04:00
2006-12-09 09:41:18 -08:00
2006-12-02 00:11:56 -05:00
2007-03-29 11:46:52 -07:00
2007-02-17 15:37:14 -05:00
2006-12-02 00:11:56 -05:00
2007-02-07 18:50:53 -05:00
2007-02-05 16:58:47 -05:00
2007-02-05 16:58:47 -05:00
2007-02-09 08:28:48 -08:00
2007-02-08 10:42:37 -05:00
2007-02-17 15:30:47 -05:00
2006-09-13 13:24:59 -04:00
2007-03-02 20:16:10 -05:00
2006-12-04 02:00:34 -05:00
2006-12-02 21:22:37 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-03-02 20:44:51 -08:00
2006-11-22 14:57:56 +00:00
2007-03-02 20:44:51 -08:00
2007-03-23 01:48:34 -04:00
2006-09-13 13:24:59 -04:00
2007-03-29 08:26:05 -04:00
2007-03-06 06:14:54 -05:00
2006-09-13 13:24:59 -04:00
2007-03-23 01:48:33 -04:00
2007-03-23 01:48:33 -04:00
2007-02-17 15:30:47 -05:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-02-09 09:14:07 -08:00
2007-02-09 09:14:07 -08:00
2007-02-05 16:58:46 -05:00
2007-02-05 16:58:43 -05:00
2007-02-27 04:16:03 -05:00
2007-02-27 04:16:03 -05:00
2007-03-02 20:44:51 -08:00
2007-03-28 02:18:51 -04:00
2006-09-13 13:24:59 -04:00
2007-03-25 18:48:09 -07:00
2006-11-22 14:57:56 +00:00
2006-11-22 14:57:56 +00:00
2007-03-02 20:44:51 -08:00
2007-02-09 09:14:07 -08:00
2006-12-02 00:11:56 -05:00