summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-03-11 10:29:28 +0100
committerIngo Molnar <mingo@elte.hu>2009-03-11 10:29:28 +0100
commit1d8ce7bc4d05b4a5c04dc17f92fef26989fb5935 (patch)
tree12df0f2e25e95654156b2900bd6df1abb3c2e87a /drivers/net/tg3.c
parent3a450de1365d20afde406f0d9b2931a5e4a4fd6a (diff)
parent16b71fdf97599f1b1b7f38418ee9922d9f117396 (diff)
downloadlinux-1d8ce7bc4d05b4a5c04dc17f92fef26989fb5935.tar.gz
linux-1d8ce7bc4d05b4a5c04dc17f92fef26989fb5935.tar.bz2
linux-1d8ce7bc4d05b4a5c04dc17f92fef26989fb5935.zip
Merge branch 'linus' into core/percpu
Conflicts: arch/x86/include/asm/fixmap_64.h
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r--drivers/net/tg3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index b080f9493d83..dabdf59f8016 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -1473,7 +1473,8 @@ static void tg3_phy_toggle_apd(struct tg3 *tp, bool enable)
{
u32 reg;
- if (!(tp->tg3_flags2 & TG3_FLG2_5705_PLUS))
+ if (!(tp->tg3_flags2 & TG3_FLG2_5705_PLUS) ||
+ GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5906)
return;
reg = MII_TG3_MISC_SHDW_WREN |