Re: [PATCH 5/6] tg3: Fix bug in nvram write

2006-04-29 Thread David S. Miller
From: "Michael Chan" <[EMAIL PROTECTED]> Date: Fri, 28 Apr 2006 16:36:21 -0700 > Fix bug in nvram write function. If the starting nvram address offset > happens to be the last dword of the page, the NVRAM_CMD_LAST bit will > not get set in the existing code. This patch fixes the bug by changing >

[PATCH 5/6] tg3: Fix bug in nvram write

2006-04-28 Thread Michael Chan
Fix bug in nvram write function. If the starting nvram address offset happens to be the last dword of the page, the NVRAM_CMD_LAST bit will not get set in the existing code. This patch fixes the bug by changing the "else if" to "if" so that the last dword condition always gets checked. Signed-off-