avr32: clean and refresh patch
[openwrt.git] / target / linux / brcm47xx / patches-2.6.23 / 121-fix_b44_phyaddr.patch
1 Index: linux-2.6.23.17/drivers/net/b44.c
2 ===================================================================
3 --- linux-2.6.23.17.orig/drivers/net/b44.c
4 +++ linux-2.6.23.17/drivers/net/b44.c
5 @@ -2273,6 +2273,10 @@ static int __devinit b44_get_invariants(
6 bp->phy_addr = sdev->bus->sprom.et1phyaddr;
7 break;
8 }
9 + /* Some ROMs have buggy PHY addresses with the high
10 + * bits set (sign extension?). Truncate them to a
11 + * valid PHY address. */
12 + bp->phy_addr &= 0x1F;
13
14 memcpy(bp->dev->dev_addr, addr, 6);
15
This page took 0.04495 seconds and 5 git commands to generate.