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