summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-12-12 00:59:47 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-12-12 00:59:47 +0000
commitc35ed149b965c7a9b1c643ccf0464661573771a6 (patch)
tree875b66b9116a721dacf589f5b70960c2c848d263 /target/linux/brcm47xx
parentb9dfb81f2aa45be745a8aed9684076210aed4152 (diff)
downloadmtk-20170518-c35ed149b965c7a9b1c643ccf0464661573771a6.zip
mtk-20170518-c35ed149b965c7a9b1c643ccf0464661573771a6.tar.gz
mtk-20170518-c35ed149b965c7a9b1c643ccf0464661573771a6.tar.bz2
Fix the default negotiation to be 10Mbits HD on some devices (#4224)
SVN-Revision: 13610
Diffstat (limited to 'target/linux/brcm47xx')
-rw-r--r--target/linux/brcm47xx/patches-2.6.25/211-b44_bcm4713_phy.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.25/211-b44_bcm4713_phy.patch b/target/linux/brcm47xx/patches-2.6.25/211-b44_bcm4713_phy.patch
new file mode 100644
index 0000000..eb084a4
--- /dev/null
+++ b/target/linux/brcm47xx/patches-2.6.25/211-b44_bcm4713_phy.patch
@@ -0,0 +1,14 @@
+--- a/drivers/net/b44.c 2008-11-16 15:33:32.000000000 +0100
++++ b/drivers/net/b44.c 2008-11-18 10:36:18.000000000 +0100
+@@ -2094,6 +2094,11 @@
+ return -EINVAL;
+ }
+
++ if (bp->sdev->id.coreid == 0x806 && bp->sdev->id.revision == 0x0) {
++ bp->phy_addr = B44_PHY_ADDR_NO_PHY;
++ bp->dma_offset = 0;
++ }
++
+ memcpy(bp->dev->perm_addr, bp->dev->dev_addr, bp->dev->addr_len);
+
+ bp->imask = IMASK_DEF;