allow the mkmylofw command to fail in case the image is too big for some compex devices
[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.041495 seconds and 5 git commands to generate.