[TG3]: Improve NVRAM sizing.
authorMatt Carlson <mcarlson@broadcom.com>
Sat, 5 May 2007 18:51:05 +0000 (11:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 May 2007 18:51:05 +0000 (11:51 -0700)
commit989a9d239c5b9ae6053aed6e3819304930baf27d
treed7f14420cea59d0f27ec93ea83191b4ce5ec8a48
parentc13e3713857d5ea572cd67f3d5749100b1963ad2
[TG3]: Improve NVRAM sizing.

This patch changes the NVRAM sizing procedure so that the driver can
take advantage of devices with 1:1 NVRAM strapping configurations.  This
is useful in cases where the traditional NVRAM sizing method fails.  In
the event that the flash size cannot be determined, the largest known
NVRAM size is used.  The patch also removes support for 5755 NVRAM
devices that are not supported by Broadcom and adds explicit sizing for
this device.

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