tg3: Fix NVRAM page writes on newer devices
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 13 Feb 2012 15:20:11 +0000 (15:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2012 01:45:05 +0000 (20:45 -0500)
commit422782249927e887a4c032d1d7e1f59de281ecbb
tree303ca0c3b89e8af7f7a0290dd836f35804dd4b04
parent3198e07fd64aa8c3a38dda33bcc0f44265eb581e
tg3: Fix NVRAM page writes on newer devices

On newer devices, the hardware expects the NVRAM address register
to be written only once per NVRAM page.  To do otherwise causes NVRAM
corruption.  This patch fixes the problem.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c