make use of the adm6996 switch for atheros devices that support it (autodetected...
[openwrt.git] / target / linux / brcm47xx / patches-2.6.23 / 121-fix_b44_phyaddr.patch
1 Index: linux-2.6.23.16/drivers/net/b44.c
2 ===================================================================
3 --- linux-2.6.23.16.orig/drivers/net/b44.c 2008-03-22 19:52:40.000000000 -0700
4 +++ linux-2.6.23.16/drivers/net/b44.c 2008-03-22 19:52:41.000000000 -0700
5 @@ -2273,6 +2273,10 @@
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.050631 seconds and 5 git commands to generate.