]> 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)
commitd7738a1aade8a3dedcd14d42511d33e621d16ee3
treecd377ac0c7d3f1573cb4cc8032ae7be16b1b29dc
parent4265bdb625def75b4dd77cc0282c77cba82f475a
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