2010-04-22 15:27:46 +00:00
|
|
|
--- a/drivers/net/bcm63xx_enet.c
|
|
|
|
+++ b/drivers/net/bcm63xx_enet.c
|
|
|
|
@@ -965,7 +965,9 @@ static int bcm_enet_open(struct net_devi
|
2010-04-09 18:43:36 +00:00
|
|
|
/* all set, enable mac and interrupts, start dma engine and
|
|
|
|
* kick rx dma channel */
|
|
|
|
wmb();
|
|
|
|
- enet_writel(priv, ENET_CTL_ENABLE_MASK, ENET_CTL_REG);
|
|
|
|
+ val = enet_readl(priv, ENET_CTL_REG);
|
|
|
|
+ val |= ENET_CTL_ENABLE_MASK;
|
|
|
|
+ enet_writel(priv, val, ENET_CTL_REG);
|
|
|
|
enet_dma_writel(priv, ENETDMA_CFG_EN_MASK, ENETDMA_CFG_REG);
|
|
|
|
enet_dma_writel(priv, ENETDMA_CHANCFG_EN_MASK,
|
2010-04-22 15:27:46 +00:00
|
|
|
ENETDMA_CHANCFG_REG(priv->rx_chan));
|