]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Fix 5761 NVRAM sizes
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 2 May 2008 23:48:36 +0000 (16:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 23:48:36 +0000 (16:48 -0700)
commitba4fcc07f257557394bd35b87b58f8170fb16755
tree75be50b8a959ef7f772612643d5d60104e9ccceb
parent9213ac8e588cbcdd1608323b6144ffe97020c5e0
tg3: Fix 5761 NVRAM sizes

The 5761 NVRAM sizes assigned to the nvram_size member are half as big
as they should be.  This patch corrects the NVRAM sizes and replaces
the hardcoded constants with preprocessor constants for readability.

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
drivers/net/tg3.h