From 1af9091146a96e151704b01ca5150e85f7062a86 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 22 Oct 2013 21:01:35 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38502 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch') 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. */ -- cgit v1.2.3