[package] base-files: add "mtu" option for route sections, allows setting per-route...
[openwrt.git] / target / linux / mpc83xx / patches-2.6.33 / 110-etsec27_war.patch
1 --- a/drivers/net/gianfar.c
2 +++ b/drivers/net/gianfar.c
3 @@ -908,6 +908,14 @@ static int gfar_probe(struct of_device *
4 udelay(2);
5
6 tempval = (MACCFG1_TX_FLOW | MACCFG1_RX_FLOW);
7 + /*
8 + * Do not enable flow control on chips earlier than rev 1.1,
9 + * because of the eTSEC27 erratum
10 + */
11 + tempval = 0;
12 + if (mfspr(SPRN_SVR) & 0xffff >= 0x0011)
13 + tempval = (MACCFG1_TX_FLOW | MACCFG1_RX_FLOW);
14 +
15 gfar_write(&regs->maccfg1, tempval);
16
17 /* Initialize MACCFG2. */
This page took 0.043277 seconds and 5 git commands to generate.