mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 05:48:05 +02:00
Fix the default negotiation to be 10Mbits HD on some devices (#4224)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13610 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cc3146824a
commit
c3bcc0c54c
@ -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;
|
Loading…
Reference in New Issue
Block a user