summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-3.10/790-tg3-phylib.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-12-01 18:12:57 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-12-01 18:12:57 +0000
commit94f7ae90f8bd951cd5726ed3ad171a263a67ea62 (patch)
tree2350847b915c34f119041b200b7b702158d1228d /target/linux/brcm47xx/patches-3.10/790-tg3-phylib.patch
parentc48f2851473bf24cdfec371c5857826eaa6007b5 (diff)
downloadmtk-20170518-94f7ae90f8bd951cd5726ed3ad171a263a67ea62.zip
mtk-20170518-94f7ae90f8bd951cd5726ed3ad171a263a67ea62.tar.gz
mtk-20170518-94f7ae90f8bd951cd5726ed3ad171a263a67ea62.tar.bz2
brcm47xx: misc cleanups
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38980
Diffstat (limited to 'target/linux/brcm47xx/patches-3.10/790-tg3-phylib.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.10/790-tg3-phylib.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-3.10/790-tg3-phylib.patch b/target/linux/brcm47xx/patches-3.10/790-tg3-phylib.patch
index 19ab8fe..3529f8c 100644
--- a/target/linux/brcm47xx/patches-3.10/790-tg3-phylib.patch
+++ b/target/linux/brcm47xx/patches-3.10/790-tg3-phylib.patch
@@ -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);