aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-10-22 21:01:35 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-10-22 21:01:35 +0000
commit1af9091146a96e151704b01ca5150e85f7062a86 (patch)
tree768bde71325ebc9a25a0963103c8ec3629e89bae /target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch
parentd6b9704bb030af81f73d3087fe6aaf8633f97ec8 (diff)
downloadmaster-187ad058-1af9091146a96e151704b01ca5150e85f7062a86.tar.gz
master-187ad058-1af9091146a96e151704b01ca5150e85f7062a86.tar.bz2
master-187ad058-1af9091146a96e151704b01ca5150e85f7062a86.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38502 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 1cafb86512..559d5a9781 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. */