summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-10-22 21:01:35 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-10-22 21:01:35 +0000
commit6d2136c3f2acfdef23677973c3e8d21f92f6fe18 (patch)
tree2913979d3e903ff3a09b0fa5a8dd8fe5d8d4330a /target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch
parent5d4cc68b66516322240d906827d424df55ee0905 (diff)
downloadmtk-20170518-6d2136c3f2acfdef23677973c3e8d21f92f6fe18.zip
mtk-20170518-6d2136c3f2acfdef23677973c3e8d21f92f6fe18.tar.gz
mtk-20170518-6d2136c3f2acfdef23677973c3e8d21f92f6fe18.tar.bz2
brcm47xx: b44: detect external phy by bit set in DevControl register
Without this patch we treated only phy addr 30 as an external phy, but there is a register to check that. Now we do not have to try to reset the switch to check for an external switch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38502
Diffstat (limited to 'target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch b/target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch
index 1cafb86..559d5a9 100644
--- a/target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch
+++ b/target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch
@@ -41,7 +41,7 @@
b44_wap54g10_workaround(bp);
+ b44_bcm47xx_workarounds(bp);
- if (bp->phy_addr == B44_PHY_ADDR_NO_LOACL_PHY)
+ if (bp->flags & B44_FLAG_EXTERNAL_PHY)
return 0;
@@ -2158,6 +2183,8 @@ static int b44_get_invariants(struct b44
* valid PHY address. */