[brcm63xx] add neufbox 4 board support, thx Miguel & Florian
[openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 230-external_phy_fix.patch
1 --- a/drivers/net/bcm63xx_enet.c
2 +++ b/drivers/net/bcm63xx_enet.c
3 @@ -965,7 +965,9 @@ static int bcm_enet_open(struct net_devi
4 /* all set, enable mac and interrupts, start dma engine and
5 * kick rx dma channel */
6 wmb();
7 - enet_writel(priv, ENET_CTL_ENABLE_MASK, ENET_CTL_REG);
8 + val = enet_readl(priv, ENET_CTL_REG);
9 + val |= ENET_CTL_ENABLE_MASK;
10 + enet_writel(priv, val, ENET_CTL_REG);
11 enet_dma_writel(priv, ENETDMA_CFG_EN_MASK, ENETDMA_CFG_REG);
12 enet_dma_writel(priv, ENETDMA_CHANCFG_EN_MASK,
13 ENETDMA_CHANCFG_REG(priv->rx_chan));
This page took 0.047003 seconds and 5 git commands to generate.