]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit4ccbb3045d495fb8f9d2aa1f1591ec9014a6bb83
treed7f14420cea59d0f27ec93ea83191b4ce5ec8a48
parentfba28d160d8e17e229a9cb781be2055185f22115
[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