]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Support 4mb flash sizes for 5717 and 5719
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 5 Apr 2011 14:22:51 +0000 (14:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2011 18:29:10 +0000 (11:29 -0700)
commit8724e6bb93a6c4f5bb1bfd6602b74e76dd3a1a20
treea7020381c3f9cf1c4a29b8129db94f467dc73ae5
parent37bf8b008a9d6c851ee69fb4558f433751e89345
tg3: Support 4mb flash sizes for 5717 and 5719

If a 5717 or 5719 NVRAM part is manually strapped and is 2mb in size,
the driver needs to look at the NVRAM size field rather than infer it
from the strapping itself.

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