|
@@ -11441,8 +11441,11 @@ static void __devinit tg3_get_eeprom_hw_cfg(struct tg3 *tp)
|
|
if (tp->tg3_flags2 & TG3_FLG2_5750_PLUS)
|
|
if (tp->tg3_flags2 & TG3_FLG2_5750_PLUS)
|
|
tp->tg3_flags2 |= TG3_FLG2_ASF_NEW_HANDSHAKE;
|
|
tp->tg3_flags2 |= TG3_FLG2_ASF_NEW_HANDSHAKE;
|
|
}
|
|
}
|
|
- if (nic_cfg & NIC_SRAM_DATA_CFG_APE_ENABLE)
|
|
|
|
|
|
+
|
|
|
|
+ if ((nic_cfg & NIC_SRAM_DATA_CFG_APE_ENABLE) &&
|
|
|
|
+ (tp->tg3_flags2 & TG3_FLG2_5750_PLUS))
|
|
tp->tg3_flags3 |= TG3_FLG3_ENABLE_APE;
|
|
tp->tg3_flags3 |= TG3_FLG3_ENABLE_APE;
|
|
|
|
+
|
|
if (tp->tg3_flags2 & TG3_FLG2_ANY_SERDES &&
|
|
if (tp->tg3_flags2 & TG3_FLG2_ANY_SERDES &&
|
|
!(nic_cfg & NIC_SRAM_DATA_CFG_FIBER_WOL))
|
|
!(nic_cfg & NIC_SRAM_DATA_CFG_FIBER_WOL))
|
|
tp->tg3_flags &= ~TG3_FLAG_WOL_CAP;
|
|
tp->tg3_flags &= ~TG3_FLAG_WOL_CAP;
|