projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert previous bad commit r11512
[openwrt.git]
/
target
/
linux
/
brcm47xx
/
patches-2.6.25
/
700-ssb-gigabit-ethernet-driver.patch
diff --git
a/target/linux/brcm47xx/patches-2.6.25/700-ssb-gigabit-ethernet-driver.patch
b/target/linux/brcm47xx/patches-2.6.25/700-ssb-gigabit-ethernet-driver.patch
index
60576a2
..
0291096
100644
(file)
--- a/
target/linux/brcm47xx/patches-2.6.25/700-ssb-gigabit-ethernet-driver.patch
+++ b/
target/linux/brcm47xx/patches-2.6.25/700-ssb-gigabit-ethernet-driver.patch
@@
-990,8
+990,8
@@
Index: linux-2.6.25.4/drivers/net/tg3.c
MI_COM_PHY_ADDR_MASK);
frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) &
MI_COM_REG_ADDR_MASK);
MI_COM_PHY_ADDR_MASK);
frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) &
MI_COM_REG_ADDR_MASK);
-@@ -8
10,6 +817,11 @@ static void tg3_phydsp_write(struct tg3
-
tg3_writephy(tp, MII_TG3_DSP_RW_PORT, val)
;
+@@ -8
04,6 +811,11 @@ static int tg3_writephy(struct tg3 *tp,
+
return ret
;
}
+static int tg3_writephy(struct tg3 *tp, int reg, u32 val)
}
+static int tg3_writephy(struct tg3 *tp, int reg, u32 val)
@@
-999,9
+999,9
@@
Index: linux-2.6.25.4/drivers/net/tg3.c
+ return __tg3_writephy(tp, PHY_ADDR, reg, val);
+}
+
+ return __tg3_writephy(tp, PHY_ADDR, reg, val);
+}
+
- static void tg3_phy
_toggle_automdix(struct tg3 *tp, int enable
)
+ static void tg3_phy
dsp_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
}
}
@@ -2250,6 +2262,14 @@ static int tg3_setup_copper_phy(struct t
}
}
This page took
0.025266 seconds
and
4
git commands to generate.