Messages in this thread Patch in this message | | | Subject | Re: Fix silly thinko in sungem network driver. | From | Benjamin Herrenschmidt <> | Date | Sat, 21 Feb 2004 11:19:13 +1100 |
| |
> Here it is: > > .../...
And here's the version without the typo
(I shall not code before having breakfast...)
--- linux-2.5/drivers/net/sungem.c 2004-02-21 11:10:33.390479384 +1100 +++ linuxppc-2.5-benh/drivers/net/sungem.c 2004-02-21 11:18:23.396027680 +1100 @@ -1837,7 +1837,8 @@ * thresholds (and Apple bug fixes don't exist) */ if (!(readl(gp->regs + GREG_CFG) & GREG_CFG_IBURST)) { - cfg = ((2 << 1) & GREG_CFG_TXDMALIM); + cfg &= ~(GREG_CFG_TXDMALIM | GREG_CFG_RXDMALIM); + cfg |= ((2 << 1) & GREG_CFG_TXDMALIM); cfg |= ((8 << 6) & GREG_CFG_RXDMALIM); writel(cfg, gp->regs + GREG_CFG); }
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |