]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Fix NVRAM size detection for the STM45PE20 pinstrap on 5762 devices
authorMichael Chan <mchan@broadcom.com>
Tue, 9 Apr 2013 08:48:02 +0000 (08:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Apr 2013 19:14:14 +0000 (15:14 -0400)
commit415a629b3831712ad92768a8a46edb47f4240762
treecd377ac0c7d3f1573cb4cc8032ae7be16b1b29dc
parente9a7ee7c9ba4de627560972a318fe255cb435d6f
tg3: Fix NVRAM size detection for the STM45PE20 pinstrap on 5762 devices

The STM45PE20 pinstrap on 5762 devices supports multiple sizes. So treat
it just like the ST45_USPT and the size will be read from 0xf0 via
tg3_get_nvram_size().

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