tg3: Fix 5762 NVRAM sizing
authorMichael Chan <mchan@broadcom.com>
Thu, 14 Feb 2013 12:13:40 +0000 (12:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Feb 2013 19:02:59 +0000 (14:02 -0500)
commitc5d0b72e641340c5dc915cdfab5e2c55d81425c2
tree2630d7f3038f526128981a37fef0004a42df7c60
parentd240d210f5a9254d4df395d65f1ed3b2b45bc298
tg3: Fix 5762 NVRAM sizing

Don't set the default size to 128K if it is 5762.  Instead, rely on the
size we obtain from NVRAM location 0xf0.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c