summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-2.6.25/211-b44_bcm4713_phy.patch
blob: 13f93bdb93bf6aa803e18540005039c2251a1636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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;