]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/tg3.c
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)
commitfd1122a2593d0bbe19856e3943c859ebfe563583
tree75be50b8a959ef7f772612643d5d60104e9ccceb
parent8ef214288622bf523a3b3096958292a1c63132ad
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