tg3: Do not enable APE on bcm5700
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 4 Nov 2008 00:52:32 +0000 (16:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Nov 2008 00:52:32 +0000 (16:52 -0800)
commitb2b98d4acc58a6f36b731e666c6ebd901cd6a27e
treef455300c0b87b99a91e720709e178c7a9a0d1611
parentbcb37f6cb57e565e7bd342272652c3a50cf88761
tg3: Do not enable APE on bcm5700

With older versions of the NVRAM format, the driver may mistakenly
determine that APE is enabled.  Make sure this doesn't happen by
restricting the ENABLE_APE check to devices known to have more
recent NVRAM image formats.

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