summaryrefslogtreecommitdiffstats
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-11-09 19:29:46 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-11-09 19:29:46 +0000
commit68081fc1c8c7814b1c064431eb2e364f9226801a (patch)
treeec927fd4ba422a199cad1c45eb8f2f27ae02700c /target/linux/brcm47xx/patches-3.10/210-b44_phy_fix.patch
parent7a82667372af7eb372133fd6bb0e3322c8c02df1 (diff)
downloadmaster-31e0f0ae-68081fc1c8c7814b1c064431eb2e364f9226801a.tar.gz
master-31e0f0ae-68081fc1c8c7814b1c064431eb2e364f9226801a.tar.bz2
master-31e0f0ae-68081fc1c8c7814b1c064431eb2e364f9226801a.zip
brcm47xx: register ADM6996L switch
This patch makes it possible to use adm6996.c on first generation BCM47XX devices with ADM switches. This was tested on a WRT54GS version 1.0, thank you Dirk Neukirchen for the device. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38699
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.patch6
1 files changed, 3 insertions, 3 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 559d5a9781..53989ef094 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
@@ -1,6 +1,6 @@
--- a/drivers/net/ethernet/broadcom/b44.c
+++ b/drivers/net/ethernet/broadcom/b44.c
-@@ -429,10 +429,34 @@ static void b44_wap54g10_workaround(stru
+@@ -431,10 +431,34 @@ static void b44_wap54g10_workaround(stru
error:
pr_warning("PHY: cannot reset MII transceiver isolate bit\n");
}
@@ -35,7 +35,7 @@
#endif
static int b44_setup_phy(struct b44 *bp)
-@@ -441,6 +465,7 @@ static int b44_setup_phy(struct b44 *bp)
+@@ -443,6 +467,7 @@ static int b44_setup_phy(struct b44 *bp)
int err;
b44_wap54g10_workaround(bp);
@@ -43,7 +43,7 @@
if (bp->flags & B44_FLAG_EXTERNAL_PHY)
return 0;
-@@ -2158,6 +2183,8 @@ static int b44_get_invariants(struct b44
+@@ -2160,6 +2185,8 @@ static int b44_get_invariants(struct b44
* valid PHY address. */
bp->phy_addr &= 0x1F;