brcm47xx: misc cleanups
[openwrt.git] / target / linux / brcm47xx / patches-3.10 / 790-tg3-phylib.patch
index 19ab8fef2fcc0a5c540add882bea83289cf9e343..3529f8c901b539f69120cbc361009f2852ae45ee 100644 (file)
@@ -31,7 +31,7 @@
                                    TG3_CPMU_PHY_STRAP_IS_SERDES;
                if (is_serdes)
                        tp->phy_addr += 7;
-+      } else if (tg3_flag(tp, IS_SSB_CORE)) {
++      } else if (tg3_flag(tp, IS_SSB_CORE) && tg3_flag(tp, ROBOSWITCH)) {
 +              int addr;
 +
 +              addr = ssb_gige_get_phyaddr(tp->pdev);