With the new kernel 2.6.25 the kernel image doesn't build correctly.
In 700-ssb-gigabit-ethernet-driver.patch is an error.
This patch corrects it and makes the kernel compiling again.

--
Hauke
Index: target/linux/brcm47xx/patches-2.6.25/700-ssb-gigabit-ethernet-driver.patch
===================================================================
--- target/linux/brcm47xx/patches-2.6.25/700-ssb-gigabit-ethernet-driver.patch	(revision 11363)
+++ target/linux/brcm47xx/patches-2.6.25/700-ssb-gigabit-ethernet-driver.patch	(working copy)
@@ -990,8 +990,8 @@
  		      MI_COM_PHY_ADDR_MASK);
  	frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) &
  		      MI_COM_REG_ADDR_MASK);
-@@ -810,6 +817,11 @@ static void tg3_phydsp_write(struct tg3 
- 	tg3_writephy(tp, MII_TG3_DSP_RW_PORT, val);
+@@ -804,6 +811,11 @@ static int tg3_writephy(struct tg3 *tp, 
+ 	return ret;
  }
  
 +static int tg3_writephy(struct tg3 *tp, int reg, u32 val)
@@ -999,9 +999,9 @@
 +	return __tg3_writephy(tp, PHY_ADDR, reg, val);
 +}
 +
- static void tg3_phy_toggle_automdix(struct tg3 *tp, int enable)
+ static void tg3_phydsp_write(struct tg3 *tp, u32 reg, u32 val)
  {
- 	u32 phy;
+ 	tg3_writephy(tp, MII_TG3_DSP_ADDRESS, reg);
 @@ -2250,6 +2262,14 @@ static int tg3_setup_copper_phy(struct t
  			}
  		}

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to