1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 23:02:28 +02:00
openwrt-xburst/target/linux/brcm47xx/patches-2.6.25/211-b44_bcm4713_phy.patch
hauke 90fac27f2a [brcm47xx] refresh patches and configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-01 20:19:55 +00:00

15 lines
370 B
Diff

--- a/drivers/net/b44.c
+++ b/drivers/net/b44.c
@@ -2094,6 +2094,11 @@ static int __devinit b44_get_invariants(
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;