Fix the default negotiation to be 10Mbits HD on some devices (#4224)

SVN-Revision: 13610
lede-17.01
Florian Fainelli 2008-12-12 00:59:47 +00:00
parent b9dfb81f2a
commit c35ed149b9
1 changed files with 14 additions and 0 deletions

View File

@ -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;